Fei Blog

一生想做浪漫极客

Image

The record related to Image

iPhone拍照的部分图片在windows上显示被旋转的问题 旋转图片 解决在window 系统中 不能识别UIImageOrientationRight时的方向值, 会出现逆时针90,所以 @param image 原图 @return 新图 */ + (UIImage *)rotateImage:(UIImage *) image { @autorel...

Cocoa Touch Framework

The record related to Version

###打包framework(Cocoa Touch Framework) xcode打包需要配置 1.检查基本的配置 2.选择支持的最低版本 改为静态打包(对于ios8以上的系统,可以使用动态库(Dynamic Library)) 导入工程中.m与 .h文件 合并模拟器与真机版本 在终端输入 lipo -cr...

Version

The record related to Version

下载问题 (void)URLSession:(NSURLSession *)session downloadTask:(NSURLSessionDownloadTask *)downloadTask didFinishDownloadingToURL:(NSURL *)location; 使用该方法的时候,注意事项: 1. location 为一个零时的目录,在...

Version

The record related to Version

开发版本对比 DEV : Development System 开发 SIT : System Integration Testing 系统集成 UAT : User Acceptance Testing 用户测试 QAS : Quality Assurance System 质量保证体系 PRD : Production S...

Appstore

The record related to Appstore

##关于app强制更新的itunes地址 通过微信的测试结果 https://itunes.apple.com/cn/app/we–chat/id414478124?mt=8 https://itunes.apple.com/cn/app/id414478124?mt=8 https://itunes.apple.com/cn/app/微信/id414478124?mt=8 都可以...

note

琐碎的记录

免费的二级域名申请 境内:花生壳 http://hsk.oray.com/ 境外:dot.tk http://www.dot.tk/zh/index.html 免费的ssl证书 Let’s Encrypt https://letsencrypt.org

杂记

琐碎的记录

数据存储方式对比 plist文件 可以存储的数据类型:Number(interger,real),String,Boolean(false,true),Date,Data,Array,Dictionary NSUserDefaults 数据类型 NSString, NSData, NSNumber(NSInteger,float,double), N...

Network

与网络相关的处理

#iOS 网络状态检测 导入CoreTelephony.framework框架 CTCellularData *cellularData = [[CTCellularData alloc]init]; cellularData.cellularDataRestrictionDidUpdateNotifier = ^(CTCellularDataRestrictedState s...

Url Coding

与url相关的处理

#Encoding and Decoding URL Data To percent-encode part of a URL string, use the ==NSString== method ==stringByAddingPercentEncodingWithAllowedCharacters==:, passing the appropriate character set f...

AutoPackageShell

自动打包使用流程

#自动打包测试流程 1、将AutoPackageShell文件夹放到项目根目录下
 2、打开autoPackageShell.sh文件,修改下列项目参数成你要打包的项目: # 是否编译工作空间 (例:若是用Cocopods管理的.xcworkspace项目,赋值true;用Xcode默认创建的.xcodeproj,赋值false) is_workspace="false"
 #scheme...