View Single Post
Mark FX

Mark FX's Avatar
Member Since: Aug 13, 2011
Location: West Sussex, UK
Posts: 180
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.

//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.

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

Regards Mark
QUOTE Thanks