- 博客(8)
- 收藏
- 关注
原创 UIpageController基本属性
self.page = [[UIPageControl alloc] initWithFrame:CGRectMake(50, 500, 300, 50)]; self.page.backgroundColor = [UIColor blackColor];//在颜色插件里找调透明度这样不会将透明进行子传递; //默认在第几个点 self.page.cu
2016-01-08 16:37:56
347
原创 UIScrollView页面
- (void)setupView { self.backgroundColor = [UIColor cyanColor]; //滚动 /* self.sv = [[UIScrollView alloc] initWithFrame:CGRectMake(0, 50, 414, 260)]; self.sv.backgroundColor = [UIColor redColor]; //设置包含
2016-01-08 16:04:09
269
原创 轮播图小结
#define Swidth CGRectGetWidth([UIScreen mainScreen].bounds)#define SHeigth CGRectGetHeight([UIScreen mainScreen].bounds)view self.backgroundColor = [UIColor whiteColor]; self.scrollView = [[UIScrollVi
2016-01-08 16:00:13
628
原创 视频音量控制器UISlider
rootView里面- (void)setupView { self.backgroundColor = [UIColor cyanColor]; self.slider = [[UISlider alloc] initWithFrame:CGRectMake(50, 200, 260, 10)]; self.slider.maximumValue = 10; //设置滑块的当前值,如果不设置边界
2016-01-08 15:50:14
440
原创 IOS基本手势介绍
//轻拍手势#pragma mark ===========轻拍手势 UITapGestureRecognizer *tap = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(tapAction:)]; [self.rv.imageView addGest
2016-01-08 15:33:22
239
原创 打地鼠的小玩意
//1声明属性//记录随机生成的序号即地鼠钻出来的洞号@interface ViewController ()@property(nonatomic,assign)NSInteger index;//记录是否可以打个地鼠@property(nonatomic,assign)BOOL flag;//记录已经打中郭多少地鼠@prope
2016-01-08 10:35:59
445
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人