摘要:
UIPageControl *pageControl = [[UIPageControl alloc] init]; pageControl.center = CGPointMake(w * 0.5, h - 20); pageControl.bounds = CGRectMa... 阅读全文
摘要:
//1.创建图片 _userImage = [[UIImageView alloc]init]; //2.设置图片圆角 _userImage.layer.cornerRadius = 33; _userImage.layer.masksToBounds = YES;... 阅读全文
摘要:
_scrollView = [[UIScrollView alloc] init]; //height = 0:禁止垂直方向滚动 _scrollView.contentSize = CGSizeMake(kTwo * kScreenW, 0); //不显示水平方向的滚动... 阅读全文
摘要:
照此方法打开引用你这个图片的sb或者xib:然后搜索你的这个图片名称:删除这个图片名称的引用。如果还是不行的话,就删除此sb或xib文件然后重新创建。 阅读全文
摘要:
- (void)viewDidLoad{ [super viewDidLoad]; self.view.backgroundColor = [UIColor whiteColor];} 阅读全文
摘要:
[self.navigationController popToViewController:[self.navigationController.viewControllers objectAtIndex:?] animated:YES];或for (UIViewController *temp ... 阅读全文