码迷,mamicode.com
首页 >  
搜索关键字:ios8 autolayout 自动布局    ( 2396个结果
关于iphone6/5/4s 在iOS8.0系统下 只读@3x图片
've tried in a sample project to use standard, @2x and @3x images, and the iPhone 6+ simulator uses the @3x image. So it would seem that there are @3x images to be done (if the simulator actually replicates the device's behavior). But the strange thing is ...
分类:移动开发   时间:2014-11-19 01:53:31    阅读次数:194
iOS 8适配 tabbar的问题
最近在给公司项目做ios8适配的时候发现tabbar的图片都神奇的消失了,从百度上发现这个给图片加渲染selectedImage = [selectedImage imageWithRenderingMode:UIImageRenderingModeAlwaysOriginal];unselecte...
分类:移动开发   时间:2014-11-18 23:29:14    阅读次数:263
UIScrollView无法滚动
?如果UIScrollView无法滚动,可能是以下原因:Ø没有设置contentSizeØscrollEnabled = NOØ没有接收到触摸事件:userInteractionEnabled = NOØ没有取消autolayout功能(要想scrollView滚动,必须取消autolayout)Ø...
分类:其他好文   时间:2014-11-17 22:39:41    阅读次数:184
ios8无法横屏的猜测
昨天晚上,更新了ios8.1,结果产品始终无法横屏(一直是竖屏),无论你怎么设置。其实,是ios8把当作横屏了。关于这个问题,网友也有讨论http://www.unitymanual.com/thread-26716-1-1.html 大家的意思是xcode6 与 ios8 有些地方不兼容(而我恰恰也是xcode6),于是我就顺着人家的提示改,改了半天也没改出来。由于代码每一次build时间都不...
分类:移动开发   时间:2014-11-17 19:36:23    阅读次数:221
ios8定位问题,以及在iphone点击设置隐私定位功能直接崩溃的问题
ios8 定位问题解决思路:1、plist文件新加两条变量: a、NSLocationAlwaysUsageDescription=YES; b、NSLocationWhenInUseUsageDescription=YES2、增加判断是否手机为ios8系统,加权限 locationManager ...
分类:移动开发   时间:2014-11-17 17:17:59    阅读次数:196
iOS8新特性
1. App Extension Programming Guide 2.LocalAuthentication.framework - Touch ID Authentication 3.Local Authentication Framework Reference. 4.Photos.framework/PhotosUI.framework 5.AV Foun...
分类:移动开发   时间:2014-11-17 10:49:14    阅读次数:189
iOS开发手记-iOS8中使用定位服务解决方案
问题描述:在iOS8之前,app第一次开始定位服务时,系统会弹出一个提示框来让用户选择是否允许使用定位信息。但iOS8后,app将不会出现这个弹窗。第一次运行之后,在设置->隐私->定位服务中,你的app没有任何设置,既不是“永不”,也不是“始终”。代码如下:#import "XYZFirstVi...
分类:移动开发   时间:2014-11-14 17:43:08    阅读次数:207
ios8以上远程推送 demo
-(BOOL)application:(UIApplication*)applicationdidFinishLaunchingWithOptions:(NSDictionary*)launchOptions{self.window=[[UIWindowalloc]initWithFrame:[[UIScreenmainScreen]bounds]];//Overridepointforcustomizationafterapplicationlaunch.//注册推送通知//[[UIApplic..
分类:移动开发   时间:2014-11-13 19:04:42    阅读次数:440
iOS8跳到系统设置页面
iOS5.1+之后跳转setting页面的方式都失效了,不过在iOS8苹果有提供了一个键值允许app跳转到setting页面,具体代码如下:NSURL *url = [NSURL URLWithString:UIApplicationOpenSettingsURLString]; if ([[UI....
分类:移动开发   时间:2014-11-13 18:22:27    阅读次数:408
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!