- 博客(21)
- 资源 (3)
- 收藏
- 关注
原创 获取APP的版本号,名称,序列号,设备名称等
获取APP的相关信息获取APP的相关信息 NSDictionary *infoDictionary = [[NSBundle mainBundle] infoDictionary]; CFShow(infoDictionary); // app名称 NSString *app_Name = [infoDictionary objectForKey:@"CFBu
2017-04-18 15:34:40
1737
原创 阿里巴巴iconfont(图标仓库)
阿里巴巴iconfont图标仓库阿里巴巴iconfont(图标仓库)Iconfont-国内功能很强大且图标内容很丰富的矢量图标库,提供矢量图标下载、在线存储、格式转换等功能。阿里巴巴体验团队倾力打造,设计和前端开发的便捷工具 > http://iconfont.cn/plus/home/index?spm=a313x.7781069.1998910419.2.nuaIL5
2017-02-22 15:37:32
1366
原创 nw_socket_set_common_sockopts setsockopt SO_NOAPNFALLBK failed: [42] Protocol not available, dumping
nw_socket_set_common_sockopts setsockopt SO_NOAPNFALLBK failed 42 Protocol not available dumping backtrace解决办法nw_socket_set_common_sockopts setsockopt SO_NOAPNFALLBK failed: [42] Protocol not availabl
2016-11-23 17:30:43
9153
原创 个人*Xcode常用的快捷键
command + < 打开 设置界面快捷键:command+shift+R 打开控制台 command+W 关闭控制台(谁有焦点就关闭谁) command+R 编译并运行程序 Build and Go command+shif+E 打开或关闭File Name视图 command+[或]
2016-11-23 16:48:42
607
原创 iOS设备、Icon、LaunchImage、图片分辨率
iOS设备、Icon、LaunchImage、图片分辨率iOS设备 iOS设备的屏幕的大小、分辨率以及比例因数(Scale Factor)。iPhone设备 宽(inch
2016-11-23 16:41:38
650
原创 iOS开发中六种手势UITapGestureRecogniz
iOS开发中六种手势UITapGestureRecognizeriOS开发中手势识别有六种1轻击手势TapGestureRecognizer2长按手势LongPressGesRecognizer3轻扫手势SwipeGestureRecognizer4捏合手势PinchGestureRecognizer5拖动手势PanGestureRecognizer6旋转手势RotationGestu
2016-09-17 17:07:03
705
原创 UITextAlignmentCenter' is deprecated: first deprecated in iOS 6.0 UITextAlignmentCenter
UITextAlignmentCenter is deprecated first deprecated in iOS 60 UITextAlignmentCenter解决办法UITextAlignmentCenter’ is deprecated: first deprecated in iOS 6.0 UITextAlignmentCenter
2016-09-13 16:02:35
1266
原创 UIview需要知道的一些事情:setNeedsDisplay、setNeedsLayout
UIview需要知道的一些事情setNeedsDisplaysetNeedsLayoutUIView的setNeedsDisplay和setNeedsLayout方法layoutSubviews在以下情况下会被调用drawRect在以下情况下会被调用
2016-09-09 12:18:40
416
原创 Implicit conversion of an Objective-C pointer to '__autoreleasing instancetype *' (aka '__autoreleas
Implicit conversion of an Objective-C pointer to '__autoreleasing instancetype *' (aka '__autoreleas
2016-08-24 16:48:00
3265
原创 Xcode7 真机调试(无需证书)详解
Xcode7 真机调试真机调试Xcode7 真机调试iOS 9更新以后,最期待的大概就是无需证书就能真机调试啦 今天在此分享一下下
2016-07-21 17:22:41
792
原创 ARC forbids explicit message send of 'release' 'release' is unavailable: not available in automatic
更新中…… 先参考 下面链接http://blog.sina.com.cn/s/blog_7b9d64af01019rqt.html
2016-07-20 17:41:08
671
原创 mac如何获取API的资源图片 和 Windows系统下如何查看API资源图片
mac如何获取API的资源图片 和 Windows系统下如何查看这些API资源图片Apple 对 iPhone 应用程序中的 png 图片进行了特殊的处理,在 png 文件头之后加了一个非标准的 CgBI 数据段,IDAT 段图像数据也没有传统的压缩数据头和尾,并且红色和蓝色是反的,这样就无法在 Mac 或 Windows 下不能正常使用了。如何处理???
2016-07-19 16:57:17
1567
原创 target specifies product type 'com.apple.product-type.bundle.ui-testing//
target specifies product type comappleproduct-typebundleui-testingcomappleproduct-typebundleui-testingcomappleproduct-typebundleui-testing第一步第二步第三步target specifies product type ‘com.apple.product-t
2016-07-13 09:58:12
622
原创 iOS如何清除xcode缓存和生成文件
iOS如何清除xcode缓存和生成文件。最直接的办法桌面上 按下快捷键 shift + command +g 会弹出路径输入窗口键入路径/Users/(自己电脑名字)/Library/Developer/Xcode/DerivedData把里面的内容delete 就可以个人的建议操作办法第一步:桌面上 按下快捷键 shift + command +g 会弹出路径输入窗口键入路径/User
2016-07-05 17:04:41
1116
原创 has been modified the precompiled header (路径)was built;
报错:has been modified the precompiled header (路径)was built主要原因是X-code本身的问题,一般就是缓存出错解决办法:桌面上 按下快捷键 shift + command +g 会弹出路径输入窗口键入路径/Users/(自己电脑名字)/Library/Developer/Xcode/DerivedData把里面的内容delete 就可以
2016-07-05 16:51:28
415
原创 创建公共用的宏, PrefixHeader.pch文件
创建公共用的宏, PrefixHeader.pch文件在Xcode6之前,新建一个工程的时候,系统会自带一个pch (precompile header)文件。在开发过程中,可以把那些在整个工程中,都广泛使用的头文件,包含在该文件下。编译器会自动将pch文件中的头文件,添加到所有的源文件中去。这样在需要使用相关类的时候不需要使用import就可以直接使用头文件中的内容,很大程度上带来了编程的便利性。
2016-06-30 10:40:33
682
原创 UIWebView(App TransportSecurity has blocked a cleartext HTTP (http://) resource load since it isins)
运行后 :Xcode 会打印 “App TransportSecurity has blocked a cleartext HTTP (http://) resource load since it isinsecure. Temporary exceptions can be configured via your app's Info.plistfile.”
2016-06-16 11:53:48
431
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人