Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

Thread: UIWebView
View Single Post
Old 06-23-2008, 06:32 PM   #1 (permalink)
tkilmer
Registered Member
 
tkilmer's Avatar
 
Join Date: May 2008
Posts: 583
tkilmer is an unknown quantity at this point
Default UIWebView

I am trying to set up a webview within my program. If you did not read one of my other threads, it is to bypass copyright laws. I tried to watch the tutorial but it is not working and I am doing it by hand. So far I have:
Code:
	UIWebView *tempView = [[UIWebView alloc] initWithFrame:CGRectMake(0, 0, 320, 400)];
NSURL *test = [NSURL URLWithString@"www.google.com"];
	[tempView loadHTMLString:@"www.google.com" baseURL:test];
This was just to get an idea of how the webview works so i can implement it heavily later. A couple questions, how can I use one of the images that the site shows in the program, and why does it not even display the view. The latter question being the more important. I try to load it and it is just a white frame where it is suppose to be. What is the proper way to load it. I just want it to be declared and created in this area. BTW, it does not show it in the code but I did add it to the subview.

Thanks
Tkilmer
tkilmer is offline   Reply With Quote
 

» Advertisements
» Online Users: 424
14 members and 410 guests
7twenty7, AppsBlogger, baja_yu, benney_swet, BumChinBooth, ChrisYates, dylanreich, evilmatt10, JoeRCruso, MarkC, Mnashmi, samdanielblr, TheStalker, za1407
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,636
Threads: 94,101
Posts: 402,816
Top Poster: BrianSlick (7,990)
Welcome to our newest member, samdanielblr
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 10:28 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.