1. 首页
  2. 移动开发
  3. iOS
  4. ios滚动效果

ios滚动效果

上传者: 2019-03-11 20:43:03上传 ZIP文件 33.56KB 热度 47次
实现了顶部滑动, - (void)tapClick:(UITapGestureRecognizer *)tap { [UIView animateWithDuration:0.3 animations:^{ _lineView.frame = CGRectMake(tap.view.frame.origin.x, 47, tap.view.frame.size.width, 2); }]; //文字颜色 UILabel *label = (UILabel *)tap.view; label.textColor
用户评论