AppDelegate: self.window = UIWindow(frame: UIScreen.mainScreen().bounds) self.window!.backgroundColor = UIColor.whiteColor() self...
分类:
移动开发 时间:
2014-11-19 15:24:47
阅读次数:
207
升级系统和XCode后,在IOS8上编译之前的项目会报如下错误:
Undefined symbols for architecture x86_64:
"_opendir$INODE64", referenced from:
_OPENSSL_DIR_read in libcocos2dx iOS.a(o_dir.o)
"_readdir$INODE64", referenc...
分类:
其他好文 时间:
2014-11-19 12:42:26
阅读次数:
208
在中文手写输入法输入时,会导致app崩溃,报-[UIKBBlurredKeyView candidateList]: unrecognized selector sent ,经折腾证实为- (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event 错误重载所致。...
分类:
移动开发 时间:
2014-11-19 11:01:21
阅读次数:
208
项目是以前iOS7的,升级iOS8后,无法成功获取用户位置.后来才发现iOS8 使用定位需要在infoplist文件中加2个key,然后manager需要加一个方法,指定定位授权机制在plist文件里,加入:然后在代码中写上if (IOS_VERSION >= 8) { [_manager requ...
分类:
移动开发 时间:
2014-11-19 10:33:17
阅读次数:
139
'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
最近在给公司项目做ios8适配的时候发现tabbar的图片都神奇的消失了,从百度上发现这个给图片加渲染selectedImage = [selectedImage imageWithRenderingMode:UIImageRenderingModeAlwaysOriginal];unselecte...
分类:
移动开发 时间:
2014-11-18 23:29:14
阅读次数:
263
昨天晚上,更新了ios8.1,结果产品始终无法横屏(一直是竖屏),无论你怎么设置。其实,是ios8把当作横屏了。关于这个问题,网友也有讨论http://www.unitymanual.com/thread-26716-1-1.html
大家的意思是xcode6 与 ios8 有些地方不兼容(而我恰恰也是xcode6),于是我就顺着人家的提示改,改了半天也没改出来。由于代码每一次build时间都不...
分类:
移动开发 时间:
2014-11-17 19:36:23
阅读次数:
221
ios8 定位问题解决思路:1、plist文件新加两条变量: a、NSLocationAlwaysUsageDescription=YES; b、NSLocationWhenInUseUsageDescription=YES2、增加判断是否手机为ios8系统,加权限 locationManager ...
分类:
移动开发 时间:
2014-11-17 17:17:59
阅读次数:
196
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
问题描述:在iOS8之前,app第一次开始定位服务时,系统会弹出一个提示框来让用户选择是否允许使用定位信息。但iOS8后,app将不会出现这个弹窗。第一次运行之后,在设置->隐私->定位服务中,你的app没有任何设置,既不是“永不”,也不是“始终”。代码如下:#import "XYZFirstVi...
分类:
移动开发 时间:
2014-11-14 17:43:08
阅读次数:
207