- 博客(4)
- 收藏
- 关注
转载 UILabel颜色逐渐变化
@interface UIViewController ()@property (weak, nonatomic) IBOutlet UIView *backView; //空间是用storyBoard创建的@property (nonatomic, strong) CAGradientLayer* gradientLayer;@end@implementati...
2018-05-11 17:29:00 268
转载 iOS 双击tabbar刷新页面
/*在继承UITabBarController控制器中*/#pragma mark <UITabBarControllerDelegate>-(void)tabBarController:(UITabBarController *)tabBarController didSelectViewController:(UIViewController *)viewCont...
2018-03-10 14:36:00 232
转载 iOS 点击按钮截屏
@interface CaptureViewController ()@property (nonatomic, strong) UIImageView *backgrounView; //控制器背景@property (nonatomic, strong) UIView *captureView; //整个半透明图层@property (nonatomic, ...
2018-02-26 13:19:00 125
转载 View的放大->旋转->还原动画
以UIButton为例,创建一个类,继承于UIButton/*页面的创建用storyboard*/ .h文件 @interface PTSRecommendButton : UIButton- (void)viewTransform;@end.m文件@impl...
2017-10-11 16:06:00 82
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人