随笔分类 - Bug篇
摘要:Self-Sizing在iOS11下是默认开启的,Headers, footers, and cells都默认开启Self-Sizing,所有estimated 高度默认值从iOS11之前的 0 改变为UITableViewAutomaticDimension estimatedRowHeight这
阅读全文
摘要:解决方法 - (void)pushViewController:(UIViewController *)viewController animated:(BOOL)animated { // 如果有大于控制器 if (self.childViewControllers.count >= 1) { v
阅读全文
摘要:iOS11 系统为UIScrollView增加一个contentInsetAdjustmentBehavior属性,默认为UIScrollViewContentInsetAdjustmentAutomatic,要想和iOS11之前显示效果一样的话,只需要写一个分类在+ (void)load方法设置一
阅读全文
摘要:经过导航栏跨越的坑,总结出有两种方法可以无痕解决(前提>=iOS7版本)(TabBar与导航栏类似) 1、通过设置导航栏的透明度实现(这种方式的控制器view的起始坐标是充(0,64)开始的) (1)OC实现 self.navigationBar.translucent = NO; (2)swift
阅读全文
摘要:转 http://blog.csdn.NET/wangyanchang21/article/details/50932191 在很多时候都会遇到错误, 还会带有一些 Error Code , 比如在各种网络请求, 文件操作, cookie 错误等各种错误的代码和错误代码对应的含义. 以下目录为 SO
阅读全文
摘要:NSError codes in the Cocoa error domain. URL Loading System Error Codes These values are returned as the error code property of an NSError object with
阅读全文
摘要:iOS10.3系统的一个Bug,在UILable中含有中文时,中划线会失效 NSString *priceStr = [NSString stringWithFormat:@"%.2f元",payInfo.originalPrice]; 1、原来添加中划线方式(在iOS10.3系统后失效) // N
阅读全文
摘要:http://www.cocoachina.com/industry/20130725/6677.html
阅读全文
摘要:http://m.blog.csdn.net/article/details?id=47395605
阅读全文
摘要:ERROR ITMS-90087: "Unsupported Architectures. The executable for LiveStorage.app/Frameworks/SpeechSDK.framework contains unsupported architectures '[x
阅读全文
摘要:当你打包一个framework静态库包含另一个第三方静态库时,在工程中使用自己打包的framework,这时编译会出现报错,报错的大概原因是没有找到你打包framework里面的第三方framework。 查了很多资料但并没有找到最好的解决办法,目前只能在使用自己打包的framework时,把第三方
阅读全文