Need help with Xcode

Joined
Dec 6, 2009
Messages
111
Reaction score
1
Points
18
Your Mac's Specs
Mac Mini 2010 2.4GHz, 8GB RAM, 320GB HDD, 320M
Im writing an iPhone app for my blog so that you can read my articles without the need to go into safari.

I need to embed a webpage into my app. So i do i go about putting a webpage into an app.

I have tried using UIwebview but i don't know how to make it use a URL. Im a complete newbie at development and i really need help.



My site works with the iPhone

For info my site is Wiredboot.com

I dont know how to explain this well. Please help, questions are welcome.

Thanks in advance. =]
 
Joined
May 10, 2010
Messages
10
Reaction score
1
Points
3
You need to do something like this:

Code:
[webViewControl loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:@"http://company.com/webpage.html"]]]
For a full walk through check out this kid's videos:

YouTube - XCode Tutorial: Programming A UIWebView

Also in the future try to make your post titles more relevant to your question. e.g. "How to load a URL in a UIWebView control"
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top