摘要:
UIViewController的生命周期- (void)loadView{} 用于创建self.view- (void)viewDidLoad{} self.view创建完毕- (void)viewWillAppear:(BOOL)animated{}视图即将显示- (void)viewDidAp... 阅读全文
摘要:
创建一个UIImageView //创建UIImageView 根据图片大小 UIImageView * imageView = [[UIImageView alloc]initWithFrame:CGRectMake(50, 80, size.width, size.height)];... 阅读全文
摘要:
UIView的几个主要属性1 /*2 CGRect frame;3 4 CGRect bounds;5 6 CGPoint center;7 8 CGAffin... 阅读全文