05 2016 档案
摘要:此API是apple私有API,所以只可运用在越狱设备中,如果提交appstore,会遭遇apple的拒绝上架反馈! 1 #import <dlfcn.h> 2 3 int getSignalLevel() 4 { 5 void *libHandle = dlopen("/System/Librar
阅读全文
摘要:通过 __unsafe_unretained标示符标示指针类型的值,否则xcode会报以下错误(前提,你使用的是ARC模式): ARC forbids Objective-C objects in struct 例如:
阅读全文
摘要:1 NSMutableArray *arr = [@[@"0",@"3",@"2",@"6",@"5",@"4",@"7",@"1"] mutableCopy]; 2 3 for (int i=0; i<[arr count]-1; i++) { 4 for (int j=0; j<[arr cou
阅读全文