一、权限 这个false, 可以防止不让没有摄像头的设备安装 设置横屏二、布局文件 这是用于放Camera的Frame框架 ...
分类:
移动开发 时间:
2014-08-08 15:17:16
阅读次数:
331
UIButton *btn = [UIButton buttonWithType:UIButtonTypeCustom]; btn.frame = CGRectMake(5, self.alertView.lableView.frame.size.height + self.checkBox.fra...
分类:
其他好文 时间:
2014-08-08 11:55:15
阅读次数:
246
Author: http://www.cnblogs.com/open-coder/p/3898224.html This is short tutorial about how to do frame capture with Nvidia PrefHUD. You could find a de...
分类:
移动开发 时间:
2014-08-08 01:31:04
阅读次数:
421
UIImageView *_dogImageView = [[UIImageView alloc] init];_dogImageView.frame = CGRectMake(0, 100, 300, 200); [self.view addSubview:_dogImageView];NSMut...
分类:
其他好文 时间:
2014-08-07 18:41:12
阅读次数:
209
UILabel *textlab = [[UILabel alloc]initWithFrame:CGRectMake(20, 10,ScrollView.frame.size.width - 40,260)]; textlab.text = @"测试用的随便写写ffffffffeeeeeeeee....
分类:
其他好文 时间:
2014-08-07 18:32:00
阅读次数:
141
从左边滑进CGRect r1,r2; r1 = app.testview.view.frame; r2 = self.view.frame; [app.testview.view setFrame:CGRectMake(320, r1.origin.y,r1.size....
分类:
移动开发 时间:
2014-08-07 18:25:20
阅读次数:
228
用处:选择日期或时间 当选择新的日期或时间的时候,值改变事件会被触发-(void)viewDidLoad{ CGRect frame = CGRectMake(20,20,320,100); self.datePicker = [[UIDatePicker alloc]initWithFrame.....
分类:
其他好文 时间:
2014-08-07 18:22:20
阅读次数:
184
contentSize是scrollview可以滚动的区域,比如frame = (0 ,0 ,320 ,480) contentSize = (320 ,960),代表你的scrollview可以上下滚动,滚动区域为frame大小的两倍。contentOffset是scrollview当前显示区域顶...
分类:
其他好文 时间:
2014-08-07 12:11:29
阅读次数:
189
想自己做个东西,小公司企业管理软件,借此地记录开发过程操作系统:windows8.1框架:struts2 版本struts-2.3.16.3 Hibernate4 版本hibernate-release-4.3.5.Final Spring 版本spring-frame...
分类:
其他好文 时间:
2014-08-07 00:22:27
阅读次数:
276
用处:在一个连续的区间中选择一个值-(void)viewDidLoad{ [super viewDidLoad]; CGRect frame = CGRectMake(20,20,200,0); self.slider = [[UISlider alloc]initWithFrame:fra...
分类:
其他好文 时间:
2014-08-06 18:31:51
阅读次数:
235