iOS UI界面
zhou_Ann
这个作者很懒,什么都没留下…
展开
-
iOS UI界面之UIButton
第一、UIButton的定义 UIButton *button=[[UIButton buttonWithType:(UIButtonType);能够定义的button类型有以下6种, typedef enum { UIButtonTypeCustom = 0, 自定义风格 UIButtonTypeRoundedRect, 圆角矩形 U原创 2015-03-12 22:42:11 · 336 阅读 · 0 评论 -
iOS UI界面之UILabel
UILabel的简单使用:创建UILabel:UILabel *lbl = [[UILabel alloc] init];1.frame标签的位置lbl.frame = CGRectMake(x轴位置,y轴位置,width宽度,heigth高度);2.text 文本信息lbl.text = @"标签内容";3.textColor 字体的颜色lbl.textC原创 2015-03-13 12:44:45 · 423 阅读 · 0 评论 -
iOS UI界面之UIProgressView
进度条的基本用法:属性:1.style 样式 1.1default 默认(细的蓝白条) 1.2bar 粗的蓝白条 2.progress 当前进度(值的范围0.0-1.0)3.progressTintColor 进度条走过后的进度颜色,默认为蓝4.trackTintColor 进度条没走之前的颜色,默认为白注意:1.进度条的原创 2015-03-14 09:56:09 · 447 阅读 · 0 评论 -
iOS UI界面之UISlider
1.创建UISliderUISlider *slider = [[UISlider alloc] initWithFrame原创 2015-03-13 23:02:35 · 320 阅读 · 0 评论 -
iOS 浅谈本地通知 UILocalNotification
1、创建本地通知UILocalNotification *local = [[UILocalNotification alloc] init]; 2、设置通知显示的时间local.fireDate = [NSDate date];3、设置默认时区local.timeZone = [NSTimeZone defaultTimeZone];4、设置提示内容loc原创 2015-05-24 20:29:44 · 446 阅读 · 0 评论