Remote Web Inspector Pt. 2
It gets even better, because this also works in Mobile Safari on the iOS 5 Simulator!
Here’s a little script you can run, that enables the remote Web Inspector via gdb (via @atnan).
Here’s to all the mobile devs!
It gets even better, because this also works in Mobile Safari on the iOS 5 Simulator!
Here’s a little script you can run, that enables the remote Web Inspector via gdb (via @atnan).
Here’s to all the mobile devs!
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!
Prevent UIWebView from horizontal scrolling.
HTML meta:
<meta name = "viewport"
content = "initial-scale = 1.0, user-scalable = no, width = 320"/>CSS:
text-overflow: ellipsis; overflow: hidden;
the meta does not work for me.
Remember that this will influence you’re App Store review experience