【发布时间】:2012-09-17 15:06:29
【问题描述】:
iOS 导航栏右上角的按钮有问题:
我有一个按钮,可以从应用程序本身启动 app.html 文件并显示在当前视图的顶部,并且可以使用 dDone 按钮将弹出的 webview 最小化,
我在执行此操作时遇到问题,我如何在当前视图之上调用 UIWebView 并允许它从应用目录启动 app.html 页面。
目前我有:
- (BOOL)webView:(UIWebView *)webViewer shouldStartLoadWithRequest:(NSURLRequest *)request navigationType:(UIWebViewNavigationType)navigationType{
}
这是一个调用该函数的按钮
UIBarButtonItem *showAppMenu = [[UIBarButtonItem alloc] initWithTitle:@"Help" style:UIBarButtonItemStylePlain target:self action:@selector(webView)];
【问题讨论】:
标签: iphone ios xcode cocoa-touch uiview