mirror of https://github.com/ksherlock/ample.git
disable developer menu for mame cheat sheet
This commit is contained in:
parent
4676c7c1ba
commit
5d5c477bee
|
@ -30,7 +30,7 @@
|
|||
[_webView setHidden: YES];
|
||||
NSBundle *bundle = [NSBundle mainBundle];
|
||||
NSURL *url = [bundle URLForResource: @"CheatSheet" withExtension: @"html"];
|
||||
[[[_webView configuration] preferences] setValue: @YES forKey: @"developerExtrasEnabled"];
|
||||
//[[[_webView configuration] preferences] setValue: @YES forKey: @"developerExtrasEnabled"];
|
||||
[_webView loadFileURL: url allowingReadAccessToURL: url];
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue