アプリで Webkit WebView を使用していますが、実際には機能しません。ページが読み込まれるということですが、ページ上のリンクをクリックしても何も起こりません。
これは私のウェブページです: http://www.beginninghtml.altervista.org
そして、これは私のコードです:
私の中でAppDelegate.h
:
@property (assign) IBOutlet WebView *webView;
私の中でAppDelegate.m
:
-(void)applicationDidFinishLaunching:(NSNotification *)aNotification
{
NSURL *url = [[NSURL alloc] initWithString:@"http://www.beginninghtml.altervista.org"];
NSURLRequest *req = [[NSURLRequest alloc] initWithURL:url];
[[_webView mainFrame] loadRequest:req];
}
ページは正しく読み込まれますが、ページ上のリンクをクリックしても何も起こりません。誰でも私を助けることができますか?