码迷,mamicode.com
首页 >  
搜索关键字:bounds    ( 955个结果
page enable,
-(IBAction)doImage:(id)sender{ CGFloat screenWidth = [UIScreen mainScreen].bounds.size.width; NSArray *mArray = @[@"1.jpeg",@"2.jpeg",@"3.jpeg",@"4......
分类:其他好文   时间:2015-04-12 14:39:15    阅读次数:132
初级程序员的十万个为什么
1. 如何在XCODE中,自定义代码块? 如:strong,weak,copy, tableViewCell 等...2. 怎么理解 强引用和弱引用?3. 什么是懒加载?4. frame/bounds/center区别?5. 转变坐标系?
分类:其他好文   时间:2015-04-10 06:45:06    阅读次数:130
解决UITableView头部空白
解决方式1:self.tableView.tableHeaderView = [[UIView alloc] initWithFrame:CGRectMake(0.0f, 0.0f, self.tableView.bounds.size.width, 0.01f)];解决方式2:self.table...
分类:其他好文   时间:2015-04-05 20:22:57    阅读次数:178
在Unity中如何取得一个Box的Bounds
private BoxCollider mCollider; // Use this for initialization void Start () { mCollider = GetComponent (); Bounds bounds = ...
分类:编程语言   时间:2015-04-04 16:45:18    阅读次数:651
iOS开发-View中frame和bounds区别
开发中调整View的时候的经常会遇到frame和bounds,刚开始看的时候不是很清楚,不过看了一下官方文档,frame是确定视图在父视图中的位置,和本身的大小,bounds确定可以确定子视图在当前视图中的位置,还可以改变View的大小,如果bounds确定大小,那么View的视图优先选择的boun...
分类:移动开发   时间:2015-04-03 13:12:44    阅读次数:183
iOS 数组越界 Crash处理经验
彻底解决数组越界 -[__NSArrayI objectAtIndex:]: index 100 beyond bounds [0 .. 1]' 错误。...
分类:移动开发   时间:2015-04-02 13:30:43    阅读次数:180
iOS 开发之头部滚动展示视图(转)
//// RootViewController.m// 头部滚动展示视图// 头部滚动广告视图#define SCREEN_SIZE [UIScreen mainScreen].bounds.size#define KImageCnt 5#define KImage_H 250#import "Ro...
分类:移动开发   时间:2015-04-01 21:41:24    阅读次数:164
bounds 和frame区别
仔细看下这个图就知道了...
分类:其他好文   时间:2015-04-01 17:46:59    阅读次数:124
iphone获取屏幕尺寸以及状态栏
获取状态栏的尺寸 CGRect rect; rect=[[UIApplication sharedApplication]statusBarFrame]; 获取屏幕尺寸 CGRect rect; rect=[[UIScreen mainScreen]bounds]; CGSize size=rect.size; CGFloat width=size.w...
分类:其他好文   时间:2015-03-30 09:29:48    阅读次数:101
The file 'MemoryStream' is corrupted! 的解决办法
The file 'MemoryStream' is corrupted! Remove it and launch unity again![Position out of bounds! 20 > 16]有时候我们会遇到这个报错,然后整个U3D就崩溃了,原因是在于某些Prefabs的脚本引用丢失...
分类:其他好文   时间:2015-03-29 16:22:00    阅读次数:250
955条   上一页 1 ... 76 77 78 79 80 ... 96 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!