UI
JustName01
这个作者很懒,什么都没留下…
展开
-
UIAlertView、UIActionSheet
*初始化Action Sheet 和 Alert 并显示在屏幕上 (1)initWithTitle: 设置标题,将会显示在Alert 的顶部 UIActionSheet *actionSheet = [[UIActionSheet alloc] initWithTitle: @"Do you like 蓝鸥?" delegate: self cancelButtonTitle: @"Bye B转载 2015-02-24 12:21:04 · 183 阅读 · 0 评论 -
UIButton
*初始化UIButton控件显示在屏幕上 UIButton *button = [[UIButton alloc] initWithFrame: CGRectMake(100, 100, 80, 60)]; [button setBackgroundColor: [UIColor blueColor]]; [button setTitle: @"点击" forState: UIControl转载 2015-02-24 11:22:05 · 193 阅读 · 0 评论 -
UITextField
*初始化UITextField 初始化UITextField控件显示在屏幕上 UITextField *aTextField = [[UITextField alloc] initWithFrame: CGRectMake(100, 100, 100, 40)]; aTextField.borderStyle = UITextBorderStyleRoundedRect; [aTextFi转载 2015-02-24 10:05:40 · 201 阅读 · 0 评论