Re: link a web page from a view
Re: link a web page from a view
- Subject: Re: link a web page from a view
- From: "Hank Heijink (Mailinglists)" <email@hidden>
- Date: Wed, 8 Jul 2009 22:37:21 -0400
This question would be more appropriate on the iPhone Dev Forums.
That said, read the iPhone Application Programming Guide, http://developer.apple.com/iphone/library/documentation/iPhone/Conceptual/iPhoneOSProgrammingGuide/
- specifically the section on communicating with other applications
for documentation on -[UIApplication openURL:].
Which control to use to receive the user's tap depends on what your
view contains. It could be a UIButton or you could just use a
UIWebView and implement its delegate protocol to intercept the tap on
a link and open it in Safari.
Best,
Hank Heijink
On Jul 8, 2009, at 8:47 PM, Dragos Ionel wrote:
I am working on a simple iPhone application.
One page contains a UIView with some information and a link to a
website.
What controls should I use so that when the user taps the link, the
application to stop and the browser application to load the website.
Thank you,
Dragos
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
@runbox.com
This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden