码迷,mamicode.com
首页 >  
搜索关键字:ios8 autolayout 自动布局    ( 2396个结果
iOS8下tableView的cell下划线不能从0开始的问题
判断当前设备的系统信息#define isIOS8 ([[[UIDevice currentDevice] systemVersion] hasPrefix:@"8"])iOS8下用下面的方法- (void)setInset:(UITableView *)view cell:(UITableView...
分类:移动开发   时间:2014-12-26 12:45:13    阅读次数:200
小技巧css解决移动端ios不兼容position:fixed属性,无需插件
移动端开发仿app头部底部固定设置position:fixed,android2.2以上已经实现。但是在ios8以下系统,当小键盘激活时,都会出现位置浮动问题。如图:如何解决:查阅资料之后想到一下几种解决方法1,使用position:absolute模拟问题来了:滑动页面时头部底部div会有明显的抖...
分类:移动开发   时间:2014-12-26 12:36:40    阅读次数:413
Autolayout 02
Working with Auto Layout Programmatically 如果你在运行阶段添加或者移除views你就需要通过代码来添加约束来保证你的interface能正确适应size或者orientation的改变。Creating Constraints Programmaticall...
分类:其他好文   时间:2014-12-25 18:01:42    阅读次数:157
Autolayout 03
Debugging in Code 有两个调试layout问题的阶段。1. Map from “this view is in the wrong place” to “this constraint (or these constraints) is (are) incorrect.” 2. Ma...
分类:其他好文   时间:2014-12-25 17:52:51    阅读次数:186
iPhone may be running a version of iOS that is not supported by this version of Xcode
Xcode6.0.1对ios8.1真机不识别,升级Xcode6.0.1为Xcode6.1,就行了。也可以,降低手机版本为以前的版本,想要降低手机版本请看我的另一片博客《iphone手机版本降级》。
分类:移动开发   时间:2014-12-25 17:43:12    阅读次数:173
objc_msgSend iOS8 EXC_BAD_ACCESS
如果方法是没有返回值的,需要强转一个返回类型为void的临时函数指针,void (*objc_msgSendTyped)(id self, SEL _cmd, id obj, id arg1) = (void *)objc_msgSend;objc_msgSendTyped(self, addedS...
分类:移动开发   时间:2014-12-25 16:13:09    阅读次数:271
iOS 8版本信息与屏幕尺寸
原文 http://www.cnblogs.com/smileEvday/p/iOS8.html 1、UIWindow的boundsiOS 7之前Window的bounds不会随着方向而变化,但是到了iOS 8以后,随着设备方向的旋转,window.bounds.size.width和window....
分类:移动开发   时间:2014-12-24 21:25:35    阅读次数:204
iOS8使用UIVisualEffectView实现模糊效果
代码实现 - (void)viewDidLoad { [super viewDidLoad]; // Do any additional setup after loading the view, typically from a nib. //使用图片初始化背景色 self.view.backgroundColor = [UIColor colorWithPat...
分类:移动开发   时间:2014-12-24 18:02:30    阅读次数:139
iOS8 屏幕适配问题。
最近在做关于iPhone6,6+,以及你给iOS8 的适配。 在此做一小结。 iOS多屏幕中适配的实现设计到以下几个方面。 1、宏定义:       原理:通过定义宏定义获取屏幕的宽高,从而可以动态定位视图中元素的大小和位置。       适用于: 屏幕尺寸较少,内容显示单一,满足于元素放大、缩小等较单一的呈现。       缺点:随着iPhone设备种类的增多,屏幕尺寸趋于多...
分类:移动开发   时间:2014-12-24 16:26:26    阅读次数:137
录制iphone手机视频
1: 升级自己的手机到ios8, 同时mac os也要升级到10.102: 用usb数据线将手机连上电脑。3: 打开quicktime player创建新movie4: 选择手机作为音频、视频源(Options键进行选择)5: 开始录制,并保存
分类:移动开发   时间:2014-12-24 13:18:32    阅读次数:178
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!