Monday, 16 August 2010

Resolved Button open url in safari


hi!

code open url in safari on click:

[[uiapplication sharedapplication] openurl:[nsurl urlwithstring:mad:"http://www.apple.com"]];

don't know code should be. tried put in in viewcontroller.m below viewdidunload. can't button work.

i'm new xcode, hope can me.

sorry english.
 

what posted piece of code, need put inside method.

benefit lot reading objective-c
 


Forums iPhone, iPad, and iPod Touch iOS Programming


  • iPhone
  • Mac OS & System Software
  • iPad
  • Apple Watch
  • Notebooks
  • iTunes
  • Apple ID
  • iCloud
  • Desktop Computers
  • Apple Music
  • Professional Applications
  • iPod
  • iWork
  • Apple TV
  • iLife
  • Wireless

No comments:

Post a Comment