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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/hank.list %40runbox.com

This email sent to hank.l...@runbox.com


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to