IOS開發控件視圖day03:控件經常使用屬性(Label、TextFile、Button、image、imageView)

一、Label (1)聲明web @property(weak,nonatomic)IBOutlet UILabel *label1; //IBOutlet關聯控件,storyboard中按住ctrl鍵拖線關聯 也能夠直接建立:app UILabel *label1 = [[UILabel alloc]initWithFrame:CGRectMake(40, 240, 200, 20)]; (2)
相關文章
相關標籤/搜索