摘要: _textView = [[class alloc] init]; _textView.translatesAutoresizingMaskIntoConstraints = NO; _textView.font = [UIFont systemFontOfSize:15.0]; _textView 阅读全文
posted @ 2016-08-03 14:12 frounk 阅读(161) 评论(0) 推荐(0) 编辑
摘要: buildNumber=$(/usr/libexec/PlistBuddy -c "Print :CFBundleVersion" "${PROJECT_DIR}/${INFOPLIST_FILE}")shortVersion=$(/usr/libexec/PlistBuddy -c "Print 阅读全文
posted @ 2016-07-15 13:57 frounk 阅读(361) 评论(0) 推荐(0) 编辑
摘要: NSString *num1 = @"5.2.0"; NSString *num2 = @"5.3.0"; if ([num1 compare:num2 options:NSNumericSearch] ==NSOrderedDescending) { ULog(@"%@ is bigger",nu 阅读全文
posted @ 2016-07-15 13:50 frounk 阅读(409) 评论(0) 推荐(0) 编辑
摘要: UIImage *image2 = [UIImage imageNamed:imgName]; CGFloat top = 0; // 顶端盖高度 CGFloat bottom = 0 ; // 底端盖高度 CGFloat left = 0; // 左端... 阅读全文
posted @ 2016-06-27 15:13 frounk 阅读(4531) 评论(0) 推荐(0) 编辑
摘要: 发布报错:Error ITMS-90635 - Invalid Mach-O in bundle - submitting to App store 昨晚上传项目到AppStore,报了这个错,纳尼!?我早上还能成功上传的,当时判断是晚上网速问题导致的,早上再次试了下,还是一样报错,因为CocoPo 阅读全文
posted @ 2016-06-16 17:49 frounk 阅读(354) 评论(0) 推荐(0) 编辑
摘要: 申请加急网址:https://developer.apple.com/appstore/contact/appreviewteam/index.html 提交加急审核需要理由,一般涉及到银行信息,或者崩溃打不开这种的比较容易通过。反正苹果很苛刻,一般不给处理。如果处理第二天就可以下载最新了,省去了漫 阅读全文
posted @ 2016-06-15 17:01 frounk 阅读(207) 评论(0) 推荐(0) 编辑
摘要: #import "myCode.h" @implementation myCode /*! * @brief 把格式化的JSON格式的字符串转换成字典 * @param jsonString JSON格式的字符串 * @return 返回字典 */ + (NSDictionary *)dictionaryWithJsonString:(NSString *)json... 阅读全文
posted @ 2016-05-31 14:52 frounk 阅读(3656) 评论(0) 推荐(0) 编辑
摘要: 在 info.plist 文件中 配置 View controller-based status bar appearance 对应的值为 NO 这样可以使用 application 对象来设置 状态栏,如果不设置该配置,则以 控制器设置为准,application 对象的设置不生效。 阅读全文
posted @ 2016-05-30 15:02 frounk 阅读(201) 评论(0) 推荐(0) 编辑
摘要: self.navigationController.interactivePopGestureRecognizer.enabled = NO; 阅读全文
posted @ 2016-05-26 16:36 frounk 阅读(969) 评论(0) 推荐(0) 编辑
摘要: 用-fno-objc-arc标记来禁用在ARC工程那些不支持ARC的文件的ARC用-fobjc-arc标记启用非ARC工程中支持ARC的文件 阅读全文
posted @ 2016-05-26 15:25 frounk 阅读(156) 评论(0) 推荐(0) 编辑