摘要:
UIScrollView : UIViewUIScrollView 在使用过程中要定义成一个成员变量,便于在视图控制器中全局使用._scrollView = [[UIScrollViewalloc] initWithFrame:CGRectMake(0, 30, 320, 320)]; _scrollView.backgroundColor = [UIColorgrayColor]; // 让UIScrollView滑动,必须设定滑动区域 [_scrollViewsetContentSize:CGSizeMake(320*8, 320*8)]; // 设置UIScrollView分页... 阅读全文
posted @ 2013-07-01 10:09
站在巨人肩膀上看巨人
阅读(352)
评论(0)
推荐(0)
摘要:
UITabBarController : UIViewControllerUITabBarController :管理UIViewController(以数组的方式管理-----并列关系)UINavigationController :管理UIViewController(以栈的方式管理-----层级关系)UITabBarController : 高度为49px,如果要加自定义的图片到Item上,图片高度为30px//UITabBarController : 管理UIViewController UITabBarController *tabarCtrl = [[UITabBarContro. 阅读全文
posted @ 2013-07-01 09:29
站在巨人肩膀上看巨人
阅读(330)
评论(0)
推荐(0)
摘要:
UISegmentedControl:(多段选择器)NSArray *arr = [NSArrayarrayWithObjects:@"Lucy",@"Lily",@"OK", nil]; UISegmentedControl *segCtrl = [[UISegmentedControlalloc]initWithItems:arr]; [segCtrl setFrame:CGRectMake(0, 0, 210, 40)]; [segCtrl addTarget:selfaction:@selector(click:) forCo 阅读全文
posted @ 2013-07-01 09:24
站在巨人肩膀上看巨人
阅读(1568)
评论(0)
推荐(0)
摘要:
IOS UI之导航控制器UINavigationController : UIViewControllerUINavigationController 用于管理UIViewCotrollerUINavigationController 由toolbar + custom content + bar三部分组成, 以栈的形式管理UIViewController,栈底必须有一个UIViewController,称为基栈.Navigation view由下面三部分组成:Navigation bar(top) / Custom content(controller.view,bosom) / Navig 阅读全文
posted @ 2013-07-01 09:20
站在巨人肩膀上看巨人
阅读(821)
评论(0)
推荐(0)

浙公网安备 33010602011771号