iOS 开发遇到的问题记录
__南山
紧记初衷,走再远也不会迷失!
展开
-
iOS 常用计算宏
计算绝对值(fabs)extern float fabsf(float);extern double fabs(double);extern long double fabsl(long double);原创 2015-12-24 15:57:31 · 662 阅读 · 0 评论 -
iOS 调出细细的字体
众所周知,苹果设备里的中文字体往往只有一种,在开发中想换一种字体则需要自己导入字体包,麻烦不说,还会增加程序包的大小。对于一些只是想简单换换视觉效果的童鞋来说,不妨改变字体的粗细程度来做简单的改变。原创 2015-10-21 10:50:41 · 6222 阅读 · 0 评论 -
iOS 报错纪录及解决方案___The operation couldn’t be completed. (LaunchServicesError error 0.)
运行环境:Xcode 7.0,模拟器9.0报错问题:The operation couldn’t be completed. (LaunchServicesError error 0.)问题原因:不明解决途径:关闭Xcode,并将模拟器中对应应用删除,重新打开Xcode,报错消失,问题解决。原创 2015-10-08 14:42:53 · 4209 阅读 · 1 评论 -
使用QuartzCore为视图添加渐变色效果
讲的很详细的一篇博客转载 2016-06-15 10:20:47 · 330 阅读 · 0 评论 -
iOS 工程中调用设备拍照等官方功能时操作语言为英文的解决方案
解决方案:工程的info.plist文件中修改显示语言原创 2016-01-12 15:09:48 · 290 阅读 · 0 评论 -
整数型转换为固定长度的字符型时,差位时在数字前用0补全的方法
int i = 5;NSString* string = [NSString stringWithFormat:@"%02d",i];NSLog(@"%@",string); //print 05原创 2016-06-15 11:08:16 · 458 阅读 · 0 评论 -
关于App涉及后台定位在审核时二进制文件被拒问题解决方案
软件环境:Xcode 7.3.1App适用手机系统:iOS8.0以上问题发生时间:2016年8月问题描述:Performance - 2.5.4Your app declares support for location in the UIBackgroundModes key in your Info.plist file but does n原创 2016-09-02 15:46:07 · 20026 阅读 · 0 评论