• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: link a web page from a view
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >link a web page from a view (From: Dragos Ionel <email@hidden>)

  • Prev by Date: RE: Clarification on accessors? (was: Yet another memory management question)
  • Next by Date: Re: Clarification on accessors? (was: Yet another memory management question)
  • Previous by thread: link a web page from a view
  • Next by thread: Confused about NSPrintInfo margins
  • Index(es):
    • Date
    • Thread