Right I have a UIWebview that loads a webpage once this page is loaded I then select a link using the stringByEvaluatingJavaScriptFromString. Is there anyway to test this link to see if it works before I select it in the stringByEvaluatingJavaScriptFromString. As sometimes it hangs for about 2 minutes before actually doing anything. Like telling me theres an error.
maybe you can open the link in a hidden webview and parse the resulting html code to see whether you have a 404 error?