Hi
Alert when leaving/login WebView for my site
I have an app using UIWebView. when the user clicks the login button from the Webview(loginpage.php).he have to redirected to my application with the login credientials.
i have tried this URL but i cant resolve my problem.
http://www.iphonedevsdk.com/forum/ip...-appstore.html
-(BOOL)webView

UIWebView *)webView shouldStartLoadWithRequest

NSURLRequest *)request navigationType

UIWebViewNavigationType)navigation Type
{
}
Any help on this is very much appreciated!
Quote:
Originally Posted by amit.wizkid
Of course we will help..
thats why we are here
ok.. so you have the IBAction defined..
now to connect this on the push of a button..
you have many ways to do so.
easiest one is to attach this to a UIButton from the interface builder
so just open up the xib file for this view and attach the selector for this IBAction to the button 's touch up inside and you should be good with the push to call this action..
if you have any issues with this I suggest you lookup this video to get more clear
YouTube - iPhone SDK: Creating Buttons and Adding Actions & Alert View
|