
ios
yinhuaiya
这个作者很懒,什么都没留下…
展开
-
xcode6如何在老项目中为iphone6添加匹配的LaunchImage
今天在项目中遇到这样一个问题:同事用他的原创 2014-11-18 15:02:03 · 891 阅读 · 0 评论 -
NSString 和 UInt8 相互转换
不解释,直接上代码 //NSString 转 UInt8 NSString *str = @"测试转换"; UInt8 buff_str[1024]; memcpy(buff_str,[str UTF8String], [str length]+1); NSLog(@"char = %s",buff_str); NSString *str_From_buf原创 2016-08-31 10:56:47 · 4294 阅读 · 0 评论 -
提交应用到Appstore遇到的问题集锦
问题1: ERROR ITMS-90086:”missing 64-bit support. beginning on february 1, 2015, new iOS apps submitted to the app store must be include 64-bit support and be built with the ios8 SDK……”。解决方法: 如图:转载 2016-08-31 11:01:03 · 481 阅读 · 0 评论 -
自动修改 Unity3d 导出的 Xcode 项目
在 Unity3d 导出 iOS 项目后,常常需要定制一些选项,例如指定额外的 framework,修改 Info.plist 等。Unity3d 在导出工程的时候提供两个选项:替换整个项目「replace」和追加变动「append」。一旦使用了 replace 选项,之前所有手工设置的变更都会丢失,需要重新设置。那么有没有一种方法可以在导出项目的时候对 Xcode 项目进行自动化配置呢?正好 Un转载 2017-03-31 14:55:55 · 2984 阅读 · 0 评论 -
怎样判断iOS App是通过哪种途径启动的?
(BOOL)application:(UIApplication )application didFinishLaunchingWithOptions:(NSDictionary )launchOptions说明:当应用程序启动时执行,应用程序启动入口。只在应用程序启动时执行一次。application参数用来获取应用程序的状态、变量等,值得注意的是字典参数:(NSDictionary *)lau转载 2017-03-31 14:57:57 · 309 阅读 · 0 评论 -
Unity中的Path对应各平台中的Path
最近使用unity读取各个平台路径,特别对移动平台路径的处理 简直是各种蛋疼 各种坑 在此与大家分享下 IOS: Application.dataPath : Application/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/xxx.app/Data Application.streamingAssetsPath : Application/xxxxxxxx转载 2017-03-31 15:04:10 · 461 阅读 · 0 评论