摘要:
[self performSelector:@selector(callFooWithArray) withObject:[NSArray arrayWithObjects:@"first", @"second", nil] afterDelay:15.0]; //延迟15秒 阅读全文
摘要:
/* Generated by RuntimeBrowser Image: /System/Library/Frameworks/MobileCoreServices.framework/MobileCoreServices */@interface LSApplicationWorkspace... 阅读全文
摘要:
-(void)getAppPlist{ Class LSApplicationWorkspace_class = objc_getClass("LSApplicationWorkspace"); NSObject* workspace = [LSApplicationWorkspace_... 阅读全文
摘要:
iOS 9在HTTP 访问时会出错 iOS9 Error Domain=NSURLErrorDomain Code=-1022这时需要修改info.plist 文件在Info.plist中添加NSAppTransportSecurity类型Dictionary。在NSAppTransportSecu... 阅读全文
摘要:
在 iOS9 中现在找不到 XXX.dylib 了,比如libz.tbd 如果要用到 libz.dylib,可以用下面的办法,来自 Stack Overflow。Go to Build Phases >Link Binary with Librairies > + > Add otherOnce i... 阅读全文
摘要:
#define SYSTEM_VERSION_MORE_THAN_BFDATA(v) ([[[UIDevice currentDevice] systemVersion] compare:v options:NSNumericSearch] == NSOrderedDescending)+ (NS... 阅读全文
摘要:
NSString *userAgent = [[[UIWebView alloc] init] stringByEvaluatingJavaScriptFromString:@"navigator.userAgent"]; NSString *customUserAgent = [userAgen... 阅读全文
摘要:
https://www.lucidchart.com/pages/signup?utm_expid=39895073-174.qKyHpBEbQS26y86OArD-rQ.1https://www.processon.com/ 阅读全文
摘要:
//获得设备型号+ (NSString *)getCurrentDeviceModel:(UIViewController *)controller{ int mib[2]; size_t len; char *machine; mib[0] = CTL_HW; ... 阅读全文
摘要:
https://github.com/ylechelle/OpenUDID 阅读全文