2

I know it's possible to include the WebKit Dev Tools web inspector in an OS X application that uses a WebView. I'm using:

[[NSUserDefaults standardUserDefaults] setBool:TRUE forKey:@"WebKitDeveloperExtras"];
[[NSUserDefaults standardUserDefaults] synchronize];

This allows me to activate the inspector with a right-click in the WebView.

Is there a way to launch the web inspector from a button or menu item as well? I can't find any documentation on this.

Thanks, Charlie

1 Answer 1

1

This is not possible. I filed a bug with Apple for an API, and they showed it was a duplicate bug. They have been aware of it since 2007. I assume if you are interested in an API for this as well, file a duplicate bug report.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.