- 博客(2)
- 收藏
- 关注
原创 iOS给视图设置渐变颜色
UIView *colorView = [[UIView alloc] init]; [colorView setFrame:CGRectMake(20, 160, self.view.frame.size.width - 40, self.view.frame.size.height - 320)]; [self.view addSubview:colorView];//设置渐变色
2017-09-21 09:18:21 585
原创 iOS禁用手势滑动
- (void)viewDidAppear:(BOOL)animated{ [superviewDidAppear:animated]; // 禁用返回手势 if ([self.navigationControllerrespondsToSelector:@selector(interactivePopGestureRecognizer)]
2017-09-21 09:16:33 919
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人