- 博客(23)
- 收藏
- 关注
原创 NT_iOS笔记—NSURLConnection怎么把http改为https
NSURLConnection请求HTTP的接口快速修改为HTTPS方法
2015-05-07 13:12:48
1028
原创 NT_iOS笔记—add "remote-notification" to the list of your supported UIBackgroundModes in your Info.plis
在调用用推送的时候报了: You've implemented -[<UIApplicationDelegate> application:didReceiveRemoteNotification:fetchCompletionHandler:], but you still need to add "remote-notification" to the list of your supported UIBackgroundModes in your Info.plist.
2015-04-08 17:13:43
1539
原创 NT_iOS笔记—CoreText添加文字背景色(搜索的高亮显示)
在CoreText里进行全文搜索,搜索的结果需要高亮显示,但是CoreText对NSMutableAttributedString中的NSBackgroundColorAttributeName属性不支持。文字无法高亮显示,想要实现需要自己绘画,怎么绘画?查看详情...
2015-01-06 14:13:42
3136
原创 NT_iOS笔记—提交报错:unable to process application at this time due to the following error
打好包提交验证的时候报错了:unable to process application at this time due to the following error:The IPA is invalid.it does not include a payload directory :解决方法:修改info.plistApplication requires iPhone e
2014-12-30 14:22:03
1974
原创 NT_iOS笔记—iOS用户添加字体后调用
iOS需要用到新字体,直接添加就行了,之前写过iOS 添加字体但是当字体文件太多、太大、或者没有用户喜欢的字体怎么办?让用户手动的下载字体或者导入字体。那我们怎么调用这些字体呢?可以通过这个方法找到所有字体 NSArray *familyNames =[[NSArray alloc]initWithArray:[UIFont familyNames]]; NS
2014-12-24 16:50:56
1304
原创 NT_iOS笔记—RegexKitLite(stringByReplacingOccurrencesOfRegex:withString:)英文时报错
本来周五,整理一下提交一个小版本,开开心心的过个周末。谁想突然出问题了,“你这个版本一打开这个界面就闪退”,没办法找问题改吧!OK发现了问题:这这这是神马问题?我用到了RegexKitLite的这个方法- (NSString *)RKL_METHOD_PREPEND(stringByReplacingOccurrencesOfRegex):(NSString *)r
2014-12-15 10:54:06
1344
转载 NT_iOS笔记—多线程
转自:http://www.infoq.com/cn/articles/os-x-ios-multithread-technology
2014-11-05 18:33:31
792
原创 NT_iOS笔记—iOS图片显示3_界面的手动旋转(UIDeviceOrientation和UIInterfaceOrientation)
文章的图片点击,你是单独
2014-10-20 15:09:23
787
原创 NT_iOS笔记—iOS图片显示2_某一个界面支持横屏()
文章内的图片点击后需要单独显示出来,而且还需要支持横屏显示,也仅有这个界面支持横屏显示。1.添加支持的方向General—>Deployment info—>Device Orientation2.
2014-10-20 14:57:18
1137
转载 NT_iOS笔记—CABasicAnimation用法
CABasicAnimation 自己只有三个property fromValue toValue ByValue当你创建一个 CABasicAnimation 时,你需要通过-setFromValue 和-setToValue 来指定一个开始值和结束值。 当你增加基础动画到层中的时候,它开始运行。当用属性做动画完成时,例如用位置属性做动画,层就会立刻 返回到它的初
2014-10-15 10:21:17
785
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人