Remote Web Inspector
We recently stumbled across a blog post mentioning a way to enable a remote interface to a web inspector that is hidden inside the WebKit on iOS 5.
Here’s how it’s done. In your Application Delegate add the following code:
+ (void)initialize;
{
[NSClassFromString(@"WebView") performSelector:@selector(_enableRemoteInspector)];
}
With this you can direct your browser to http://localhost:9999 to open the web inspector.
Have fun!
Remote Web Inspector Pt. 2 « NSLog 13:50 on 7. December 2011 Permalink
[...] Web Inspector Pt. 2It gets even better, because this also works in Mobile Safari on the iOS 5 [...]
Ullrich 13:51 on 7. December 2011 Permalink
Remember that this will influence you’re App Store review experience