UIWebView from Navigation Bar button

Posted by Dixit on Stack Overflow See other posts from Stack Overflow or by Dixit
Published on 2012-09-26T03:23:00Z Indexed on 2012/09/26 3:37 UTC
Read the original article Hit count: 124

Filed under:
|
|
|
|

Im having issue with button on a top right hand side of naviogation bar on iOS:

I have a button that can launch a app.html file from app itself and show on top of current view and That popup webview can be minimize with dDone button on it,

Im having issues doing this, How can i call UIWebView on top of current view and allow it to launch app.html page from app directory.

Currently i have:

- (BOOL)webView:(UIWebView *)webViewer shouldStartLoadWithRequest:(NSURLRequest *)request navigationType:(UIWebViewNavigationType)navigationType{


}

and this is a button that call that function

UIBarButtonItem *showAppMenu = [[UIBarButtonItem alloc] initWithTitle:@"Help" style:UIBarButtonItemStylePlain target:self action:@selector(webView)];

© Stack Overflow or respective owner

Related posts about iphone

Related posts about ios