View Single Post
Mark FX

 
Mark FX's Avatar
 
Member Since: Aug 13, 2011
Location: West Sussex, UK
Posts: 168
Mark FX has a spectacular aura about

Mark FX is offline
Sorry to say it, but your code is a bit of a mess, firstly you need to use NSURLConnection, NSURLRequest, and NSURL class's to make it possible.

Also I noticed you have commented out two of the above lines of code.

Quote:
//NSURLRequest *requestUrl = [NSURLRequest requestWithURL:url];
//[webview loadRequest:requestUrl];
So these two lines are doing nothing.

I would reccommend you read the Apple documentation that deals with loading URL's.

https://developer.apple.com/library/.../uid/10000165i

Try reading this, and things will be a lot clearer for you.

Regards Mark
QUOTE Thanks