摘要:
1.下载所需降级版本iOS https://ipsw.me 降级所需工具: iTunes(12或者是更高的版本) iOS 12.1.4版本固件 待降级的iPhone手机 一根数据线( 一台电脑(Windows/Mac均可操作) 具体操作步骤如下: 步骤一:将iPhone手机通过数据线连接到电脑上,并 阅读全文
摘要:
#import <sys/utsname.h> //手机型号 NSString *device = [self iphoneType]; + (NSString *)iphoneType { struct utsname systemInfo; uname(&systemInfo); NSStrin 阅读全文
摘要:
当在xcode添加新设备的时候,遇到A valid provisioning profile for this executable was not found的问题,从开发者后台来主动添加。 具体如下: 1.进入苹果的开发者网站:https://developer.apple.com 点击Cert 阅读全文
摘要:
1. 准备好一个企业邮箱 、企业营业执照复印件、一张可以支付的VISA或者MasterCard 2. 2016/01/13 注册appid https://developer.apple.com/programs/ios/ 3. 2016/01/13 申请邓白氏编码https://developer 阅读全文
摘要:
1.真机连接数据线到mac上面 2.打开xcode选择Window-->Devices and Simulators-->左边选择设备-->右击Unpair Device-->信任-->输入密码-->勾选Connect via network 阅读全文
摘要:
真机调试build success ,App installation failed (A valid provisioning profile for this executable was not found) File-->Workspace Settings --> Build System 阅读全文
摘要:
当nstimer在主线程创建时,当滑动时,系统为了更好的处理UI事件,会暂停timer,解决办法就是改变timer的mode,不使用缺省的NSDefaultRunLoopMode,而是改用NSRunLoopCommonModes NSTimer *timer = [NSTimer timerWith 阅读全文
摘要:
[self convertToJsonData:_editDictionary]; /** 字典转json字符串方法 */ -(NSString *)convertToJsonData:(id)dict { NSError *error; NSData *jsonData = [NSJSONSeri 阅读全文
摘要:
//1.原始数组 NSMutableArray *arr = [NSMutableArray arrayWithObjects:@"1",@"2",@"3",nil]; //2.倒序的数组 NSArray* reversedArray = [[arr reverseObjectEnumerator] 阅读全文