title: how to open url on button click in iPhone
body: <p>I have a url which i have in NSString urlone which is coming from xml. but i run application it gives excess bad error</p>
  
  <pre><code>  // urlone contains  http://www.forasinvest.com/v2/index.php
  
    NSString*myurl=urlone;
    NSURL *url = [NSURL URLWithString:myurl];
    [[UIApplication sharedApplication] openURL:url];
  </code></pre>