- 博客(6)
- 收藏
- 关注
原创 iOS学习(6)——UIAlertView
- (void)viewDidLoad{ [super viewDidLoad]; //初始化AlertView UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"是否保存" message:@"考虑好了,真
2015-06-03 14:10:52 409
原创 iOS学习(5)—— UIScrollView
这里写- (void)viewDidLoad{ [super viewDidLoad]; UIScrollView *scrollView; scrollView = [[UIScrollView alloc] initWithFrame:CGRectMake(0, 0, 320, 460)]; scrollView.backgroundColor = [UICo
2015-06-03 13:50:05 343
原创 iOS学习(4)——UITextField
- (void)viewDidLoad { [super viewDidLoad]; //创建一个text UITextField *textView=[[UITextField alloc]init]; //设置text的frame textView.frame=CGRectMake(0, 0, 0, 0); //设置text的边框样式 te
2015-06-03 10:30:20 254
原创 iOS学习(3)——UIImageView
- (void)viewDidLoad { [super viewDidLoad]; //创建imageview UIImageView *imageView=[[UIImageView alloc]init]; // UIImageView *imageView=[[UIImageView alloc]initWithCoder:]; // UI
2015-06-02 17:19:34 285
原创 iOS学习(2)——UILabel
//创建标签 UILabel *label=[[UILabel alloc]init]; //UILabel *label=[[UILabel alloc]initWithCoder:]; //UILabel *label=[[UILabel alloc]initWithFrame:]; //设置标签frame label.frame=CGRectMake(0
2015-06-02 13:33:42 299
原创 iOS学习(1)——UIButton
//创建自己需要的类型的按钮 UIButton *button=[UIButton buttonWithType:UIButtonTypeRoundedRect]; //设置按钮的fram [button setFrame:CGRectMake(0, 0, 50, 50)]; button.frame=CGRectMake(0, 0, 50, 50); CGRe
2015-06-02 10:55:42 428
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人