05 2015 档案
摘要:XCODE UITextField 中的属性和用法 一些基本的用法UIButton *button = [UIButton buttonWithType:UIButtonTypeRoundedRect]; CGRect frame =CGRectMake(110, 100, 100, 30); ...
阅读全文
摘要://第一种创建UIButton的方法 //initWhitFrame: UIButton *button = [[UIButton alloc]initWithFrame:CGRectMake(110, 100, 100, 30)]; button.backgroundColor = [UIC...
阅读全文
摘要:Label 中常用的方法属性UILabel *label =[[UILabel alloc]initWithFrame:CGRectMake(90, 100, 140, 40)];//设置Label的大小 //label.text =@"loveLYD meixian";//1.设置Label的文...
阅读全文
摘要:UILabel中一个水平移动的LabelUILabel *label = [[UILabel alloc]initWithFrame:CGRectMake(10, 10, 300, 300)]; UILabel *label7 = [[UILabel alloc]initWithFrame:CGR...
阅读全文
摘要:很多时候对于不同的版本,随设备的旋转以后,相应的Button的大小如果不做相应的改变,这很影响视图的美观和布局;下面是小编的个人看法UIButton *button = [[UIBtton alloc]init];button.frame =CGRectMake(320/2-100/2,60,100...
阅读全文
摘要:随着版本的更新,模态视图对版本也有不同的要求,那如何让模态视图适应多版本的要求呢?下面是小编的个人看法!-(void)presentModalVC{modalViewController *modalVC= [[modalViewController alloc]init];modalVC.moda...
阅读全文
摘要:对于版本号不同的设备,旋转时视图的要做出相应的旋转,那么版本不同,代码的实现是如何的,如何对旋转方向做出限制?下面是小编的个人看法!//版本号为3.5 -5.0-(BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)...
阅读全文
摘要:Xcode UI UIViewController 生明周期
阅读全文