December 2011
3 posts
SSL NSURLRequest
@interface NSURLRequest(SSL) + (BOOL)allowsAnyHTTPSCertificateForHost:(NSString *)host; @end @implementation NSURLRequest(SSL) + (BOOL)allowsAnyHTTPSCertificateForHost:(NSString *)host { // do some filter based off of "host" here return YES; } @end
Dec 13th
uiwebview debug
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { : : [NSClassFromString(@"WebView") performSelector:@selector(_enableRemoteInspector)]; : : } safari http://localhost:9999
Dec 12th
uiview dump
NSLog(@"%@", [view performSelector:@selector(recursiveDescription)]);
Dec 9th