title: How to validate an url on the iPhone
body: <p>In an iPhone app I am developing, there is a setting in which you can enter a URL, because of form &amp; function this URL needs to be validated online as well as offline.</p>
  
  <p>So far I haven't been able to find any method to validate the url, so the question is;</p>
  
  <p>How do I validate an URL input on the iPhone (Objective-C) online as well as offline?</p>