上一页 1 2 3 4 5 6 7 ··· 9 下一页
摘要: static AFHTTPRequestOperationManager *rom =nil; 我是封装了一下 Sharemanger, rom.securityPolicy = [self customSecurityPolicy]; //设置HTTPS的验证类 然后在 AFURLConnecti 阅读全文
posted @ 2016-08-30 10:20 Qiang zi 阅读(3894) 评论(1) 推荐(1)
摘要: #pragma mark 秒-》HH-mm-ss +(NSString *)timestrFromCount:(NSString*)timecount { NSInteger secCount = [timecount integerValue]; NSString *tmphh = [NSStri 阅读全文
posted @ 2016-08-16 16:46 Qiang zi 阅读(1215) 评论(0) 推荐(0)
摘要: +(NSString *) md5: (NSString *) inPutText { const char *cStr = [inPutText UTF8String]; unsigned char result[CC_MD5_DIGEST_LENGTH]; CC_MD5(cStr,(CC_LON 阅读全文
posted @ 2016-08-16 16:45 Qiang zi 阅读(136) 评论(0) 推荐(0)
摘要: +(BOOL)chargeIsCanPush { if (iOS8){ UIUserNotificationType types = [[UIApplication sharedApplication] currentUserNotificationSettings].types; return ( 阅读全文
posted @ 2016-08-16 16:41 Qiang zi 阅读(336) 评论(0) 推荐(0)
摘要: //单个文件的大小 + (long long) fileSizeAtPath:(NSString*) filePath{ NSFileManager* manager = [NSFileManager defaultManager]; if ([manager fileExistsAtPath:fi 阅读全文
posted @ 2016-08-16 16:40 Qiang zi 阅读(497) 评论(0) 推荐(0)
摘要: 1、 。。。。。。。line 2: /Users/ufashion/Downloads/TestLine/MapFileParser.sh: Permission denied 应该是权限问题 解决方法 : 打开Mac系统上的“终端”,用cd命令行进入buildtime.sh所在的目录,也就是nat 阅读全文
posted @ 2016-07-07 19:25 Qiang zi 阅读(583) 评论(0) 推荐(0)
摘要: 1、网络请求request content-type 设置问题 一般服务器设置为 application/json 或 text/json AFN请求若使用 AFHTTPRequestOperationManager 底层会自动加上content-type,但不保险,有时还是需要手动设置一遍: [r 阅读全文
posted @ 2016-06-12 15:21 Qiang zi 阅读(752) 评论(0) 推荐(0)
摘要: Xcode更新到7.3后会出现NSObject+MJProperty.h 报Cannot create __weak reference in file using manual reference counting错误信息。 修改方法 在Building Setting中改一下设置 改为 YES就 阅读全文
posted @ 2016-04-13 17:29 Qiang zi 阅读(296) 评论(0) 推荐(0)
摘要: 解决方法:升级unity5.3 重新生成iOS工程 其他方式 小主还未尝试 阅读全文
posted @ 2016-03-25 16:09 Qiang zi 阅读(209) 评论(0) 推荐(0)
摘要: 问题log: *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'Unable to create description in descriptionForLayoutAttrib 阅读全文
posted @ 2016-03-24 16:52 Qiang zi 阅读(153) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 ··· 9 下一页