ShouBinCheng

Results 6 issues of ShouBinCheng

解压产生__MACOSX文件夹,当资质文件没首字母小于M时下载后移除文件操作错误。 应修改为: ``` + (void)formatSakuraPath:(NSString *)sakuraPath cleanCachePath:(NSString * _Nullable)cachePath { if (!sakuraPath || !sakuraPath.length) return; if (cachePath) { [TXSakuraManager tx_clearSakuraCacheWithPath:cachePath]; } NSFileManager *fileManager = [NSFileManager defaultManager]; NSError *error = nil;...

![image](https://user-images.githubusercontent.com/9716454/82780107-b35a4580-9e88-11ea-818e-bba410d322a8.png) ![image](https://user-images.githubusercontent.com/9716454/82780144-d684f500-9e88-11ea-8ce1-228d9c058825.png)

bug:设置securityPolicy会崩溃在非AFSSLPinningModeNone下,因为AF使用了高于3.1的版本。 ![image](https://user-images.githubusercontent.com/9716454/82782377-c40dba00-9e8e-11ea-8d28-8c432ef4b994.png)

使用SDAutoLayout一直存在字体模糊现象,可能是因为SDAutoLayout约束是通过重新设置view的frame。最看在网上看到,如果坐标或宽高值为小数,可能导致文字出现模糊(不锐利)[连接](http://www.cocoachina.com/bbs/read.php?tid=23407)。楼主看看能不能优化,比如说,将view的frame分成两个。一个frame为计算frame,用于布局约束计算。一个frame为展示frame,在给view设置frame时进行去小数化。

![IMG_0168](https://user-images.githubusercontent.com/9716454/57512818-52c09f00-733f-11e9-9fe1-f16866a0dbf3.PNG)