![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
-Ios
我来也哦
我来也
展开
-
ios 笔记
—nil 和NULL 是一样的,我们使用nil 而不用NULL 是因为我们用来表示对象的指针为空。 —#import 和#include 是一样的,但是#import 可以确保引用的文件只被引用一次。原创 2014-02-28 11:42:41 · 602 阅读 · 0 评论 -
xcode更新到5.1,"Cast from pointer to smaller type 'int' loses information” in EAGLView.mm
ids[i] = (int)touch;原创 2014-04-08 20:24:54 · 3448 阅读 · 0 评论 -
xcode平时经常用到的快捷键
debug 方面: clean : shift+cmd+k clean with Folder : option + shift + cmd + k; build : cmd +b run + debug : cmd +b stop : cmd + . 操作: 快速打开:command + shift + o 查看所有方法: control + 6 返回前后:cmd + c原创 2014-03-25 20:51:04 · 689 阅读 · 0 评论 -
NSString 字符串
NSString: 截取原创 2014-04-26 23:50:05 · 788 阅读 · 0 评论 -
找到xcode目录下的模拟器和.app
在终端里面输入:open ~/Library/ 打开资源库后 .app在: Developer/Xcode/DerivedData/(你的项目)/Build/Products 模拟器在: Application Support/iphont Simulator/ 转自:原创 2014-03-28 18:11:04 · 893 阅读 · 0 评论 -
xcode 快捷键(用win键盘)
debug方面: clean: win + shift +k原创 2014-10-16 12:17:27 · 694 阅读 · 0 评论 -
1 duplicate symbol for architecture i386
整合项目代码的时候,发现这个错误,因为在2个文件里面都用到它,要修改其中一个原创 2014-12-29 11:43:05 · 633 阅读 · 0 评论 -
iOS9 HTTP 不能正常使用的解决方法
方法1. 在info.plist里面,用编辑工具打开info.plist 把 NSAppTransportSecurity NSAllowsArbitraryLoads 拖进去,保存运行解决问题 方法2: 在info.plist中添加NSAppTransportSecurity类型Dictionary. 在NSAppTransportSecurity原创 2015-09-19 14:43:26 · 598 阅读 · 0 评论 -
项目包中的 Info.plist 必须包含 CFBundleShortVersionString 键。
info.plist 里面添加一个 Bundle versions string, short 。这个就是CFBundleShortVersion原创 2015-09-22 15:51:31 · 4831 阅读 · 0 评论 -
symbol(s) not found for architexture i386 路径错误
xcode 报symbol(s) not found for architexture i386原创 2014-05-14 14:59:00 · 701 阅读 · 0 评论 -
xcode更新到5.1,"__curl_rule_01__' declared as an array with a negative size"
在Valid Architectures下面删除原创 2014-04-08 20:30:22 · 6279 阅读 · 0 评论 -
NSString 方法
NSString 方法 +(id) stringWithContentsOfFile:path encoding:enc error:err 创建一个新字符串并将其设置为path 指定的文件的内容,使用字符编码enc,如果非零, 则返回err 中错误 +(id) stringWithContentsOfURL:url encoding:enc error:err 创建一个原创 2014-02-28 11:47:10 · 626 阅读 · 0 评论 -
NSLog的格式
ios笔记:载自:ios中文开发教程资料全收录.pdf NSLog 的格式如下所示: • %@ 对象 • %d, %i 整数 • %u 无符整形 • %f 浮点/双字 • %x, %X 二进制整数 • %o 八进制整数 • %zu size_t • %p原创 2014-02-28 12:08:02 · 598 阅读 · 0 评论 -
Undefined symbols for architecture i386;
在IOS7 下 Unfined symbols for architecture i386; 检查软件下的Targets下的MapKit.framework,有没有,没有的话添加 ,有的话还报错,添加CoreLocation.framework原创 2014-02-14 17:11:22 · 726 阅读 · 0 评论 -
关于Application Loader上传问题(Authenticating with the iTunes Store...)
把Applicaiton Loader关闭,重新设置程序, 重新编译,然后将App打包成.ZIP文件,重新用Application Loader,很快就上传成功了。原创 2014-02-24 16:31:32 · 7123 阅读 · 3 评论 -
safari检查 url是否可用
打开safari,输入demo://原创 2014-03-25 09:45:38 · 737 阅读 · 0 评论 -
java.lang.unsatisfiedlinkErrpr:couldn't load game find Library returned null
java.lang.unsatisfiedlinkErrpr:couldn't load game find Library returned null原创 2014-04-09 16:04:46 · 1170 阅读 · 0 评论 -
The identity used to sign the executable is no longer valid
今天换了新的电脑,在新电脑上处理,旧电脑就出现The identity used to sign the executable is no longer valid............ 网上查了一堆方法都没用,打开钥匙串的时候,发现有几个developer 的账号,删掉只剩下一个,然后再编译app,弹出是否修复, 修复后就没这个问题了原创 2016-02-26 20:10:43 · 477 阅读 · 0 评论