自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(6)
  • 收藏
  • 关注

原创 表视图1 (UITabelView)

初始化这里的UITableViewStyle有两种格式 一种是UITableViewStylePlain 还有一种是分组格式 UITableViewStyleGroupedUITableView *tableView = [[UITableView alloc]initWithFrame:[UIScreen mainScreen].bounds style:(UITableViewStyleP

2015-11-20 22:18:38 262

原创 导航控制器UINavigationController

初始化 导航控制器初始化时 需要一个根视图控制器 去管理 (去显示)RootViewController *rootVC = [[RootViewController alloc]init]; UINavigationController *navC = [[UINavigationController alloc]initWithRootViewController:rootVC];只要是UI

2015-11-20 09:02:19 244

原创 导航控制器UINavigationController

初始化 导航控制器初始化时 需要一个根视图控制器 去管理 (去显示)RootViewController *rootVC = [[RootViewController alloc]init]; UINavigationController *navC = [[UINavigationController alloc]initWithRootViewController:rootVC];只要是UI

2015-11-20 09:01:04 194

原创 实现button按钮上的倒计时

创建一个buttonUIButton *button = [UIButton buttonWithType:(UIButtonTypeCustom)];设置位置button.frame = CGRectMake(100, 100, 100, 100); 设置一个标签 为了后面便于获取buttonbutton.tag = 1000;设置背景颜色button.backgroundColor = [UI

2015-11-17 23:36:47 1053

原创 UISlider

初始化UISlider *slider = [[UISlider alloc]initWithFrame:CGRectMake(20, 100, 300, 10)]设置背景颜色slider.backgroundColor = [UIColor cyanColor];设置轨迹颜色//最大值到滑块的轨迹的颜色 [slider setMaximumTrackTintColor:[UIColor green

2015-11-17 23:26:53 369

原创 UISegmentedControl

初始化初始化的数组中 必须是 字符串 或者 图片 如果选用图片初始化 必须使用镂空图NSArray *itemArray = @[@"第一段",@"第二段",@"第三段"];分段按钮UISegmentedControl *segment = [[UISegmentedControl alloc]initWithItems:itemArray];设置位置segment.frame = CGRectM

2015-11-17 21:53:28 296

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除