Skip to content
JavaScript Debugging Capabilities for UIWebView
Objective-C C++
Find file
Latest commit 2fa2e04 @neonichu neonichu Fixed stupid typo.
Failed to load latest commit information.
README first commit
WebView+Debug.h Fixed stupid typo.
WebView+Debug.m Allow remote debugging via WebInspector (iOS 5 only)



UIWebView+Debug adds simple script debugging capabilities to Apple's UIWebView.


Simply add the two files to your Project.
#import "WebView+Debug.h"

Next adapt the header file to enable or disable parser call backs.

Make sure to not include this in your release build of the application as it uses private Frameworks.

The DEBUG defines should sort this out for you. If this code is left in, Apple will the application.

This little UIWebView Category was inspired by this Stack Overflow post:

Credits go to Robert Sanders and Kresimir Prcela for giving the right clues.
I then decided to take these two posts and merge them into one easy to use drop-in category.


Pablo Guillen

The software is licensed under the MIT License.
Something went wrong with that request. Please try again.