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