Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Mockup & CodeGen, iPhone & iPad
($9.99)

Make your own iPhone apps
and run them live!
(free)

Manu
($0.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Development

Reply
 
LinkBack Thread Tools Display Modes
Old 03-07-2010, 04:44 AM   #1 (permalink)
Registered Member
 
Join Date: Mar 2010
Posts: 2
Default UIWebView and UIButtons

Hello ...

I have made a UIWebView to load a URL page, and it works nice

Now i made a button that have to send you to a new URL.

What shell i do ?
Radut is offline   Reply With Quote
Old 03-07-2010, 05:15 AM   #2 (permalink)
Registered Member
 
amit.wizkid's Avatar
 
Join Date: Aug 2009
Location: India
Posts: 82
Send a message via Yahoo to amit.wizkid
Default

Quote:
What shell i do ?
Read! :P

iPhone Dev Center: UIWebView Class Reference

am not criticizing you for asking a simple concept..
just encouraging you to try to read some documentation to help build your concepts well and go to new levels of the iPhone dev
and as always the iPhoneDevSDK guys will be here to help us along..

so have a go at it and post back with the results..

Keep coding!
__________________
If you believe you can fly
You will!

En Route HQ on the Web - share your trip no matter how you travel! It's Fun

En Route HQ on the App Store
amit.wizkid is offline   Reply With Quote
Old 03-07-2010, 05:37 AM   #3 (permalink)
Registered Member
 
Join Date: Mar 2010
Posts: 2
Default

Hello

There my be a verry simple concept for you, but for me as a new iphone developer i not eazy.

I have seen the doc, before i have written to you here, that is way have posted this thread.

I have:
-(void)viewDidLoad {
[webView loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:@"http://crm.kundedata.dk/iphone"]]];
}

I need to understend hau i bind a new button with

- (IBAction)pushsearch {

}

i the h file:

- (IBAction)pushsearch;


Can you help me ?
Radut is offline   Reply With Quote
Old 03-11-2010, 02:47 AM   #4 (permalink)
Registered Member
 
amit.wizkid's Avatar
 
Join Date: Aug 2009
Location: India
Posts: 82
Send a message via Yahoo to amit.wizkid
Default

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
__________________
If you believe you can fly
You will!

En Route HQ on the Web - share your trip no matter how you travel! It's Fun

En Route HQ on the App Store
amit.wizkid is offline   Reply With Quote
Old 07-02-2010, 02:09 AM   #5 (permalink)
iPhoneDev
 
Join Date: Dec 2009
Posts: 33
Send a message via Yahoo to sivasankarp
Default Alert when leaving/login WebView for my site

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)webViewUIWebView *)webView shouldStartLoadWithRequestNSURLRequest *)request navigationTypeUIWebViewNavigationType)navigation Type
{

}

Any help on this is very much appreciated!


Quote:
Originally Posted by amit.wizkid View Post
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
sivasankarp is offline   Reply With Quote
Old 07-05-2010, 02:22 AM   #6 (permalink)
iPhoneDev
 
Join Date: Dec 2009
Posts: 33
Send a message via Yahoo to sivasankarp
Default Need to know how the submit button works in the UIWebview

Hi Genius

I have an app using WebView. 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)webViewUIWebView *)webView shouldStartLoadWithRequestNSURLRequest *)request navigationTypeUIWebViewNavigationType)navigation Type {

}

Any help on this is very much appreciated!



Quote:
Originally Posted by amit.wizkid View Post
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
sivasankarp is offline   Reply With Quote
Reply

Bookmarks

Tags
uibuttons, uiwebview

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Online Users: 246
19 members and 227 guests
ADY, Alsahir, beleg_1998, Dani77, diyora, e2applets, iDifferent, iph_s, JamesCahall, JasonR, mer10, Monstertaco, prchn4christ, Robiwan, Rudy, smithdale87, Speed, spiderguy84, timle8n1
Most users ever online was 1,187, 10-11-2011 at 08:09 AM.
» Stats
Members: 158,880
Threads: 89,228
Posts: 380,756
Top Poster: BrianSlick (7,129)
Welcome to our newest member, @sandris
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 01:17 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0