I'm writing some app for mac. Here's the problem:
If I pull out an put NSTextField and WebView on the window, and connect NSTextField with WebView's method takeStringURLFrom:, they acts correctly. I can type on everything in the WebView! But, if I load the site with loadRequest: like this:
[[webView mainFrame] loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:@"blah"]]];
WebView doesn't respond to my keyboard input.
How to solve this problem?