- 博客(4)
- 收藏
- 关注
转载 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 169
转载 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 187
转载 UITextField
*初始化UITextField初始化UITextField控件显示在屏幕上UITextField *aTextField = [[UITextField alloc] initWithFrame: CGRectMake(100, 100, 100, 40)];aTextField.borderStyle = UITextBorderStyleRoundedRect;[aTextFi
2015-02-24 10:05:40 192
转载 UILabel
UILabel*初始化LabelUILabel *aLabel = [[UILabel alloc] initWithFrame:CGRectMake(20, 120, 280, 40)];[aLabel setText: @"显示文本框"];[self.view addSubview: aLabel];1、文本属性(1)text: label显示的文字;(2)font
2015-02-24 10:03:37 219
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人