Hi,
I have the weirdest problem, I setup a UIWebView in the viewDidLoad section of my viewController and for some reaosn it keeps on looping through the setup :
- (void)loadView {
UIWebView *webViewer = [[UIWebView alloc] initWithFrame:CGRectMake(0, 0, 320, 430)];
webViewer.delegate = self;
webViewer.scalesPageToFit = YES;
webViewer.dataDetectorTypes = UIDataDetectorTypeAll;
[[webViewer.subviews objectAtIndex:0] setBounces:NO];
NSURL *url = [NSURL URLWithString:@"http://www.google.com/"];
[webViewer loadRequest:[NSURLRequest requestWithURL:url]];
[self.view addSubview:webViewer];
//at this point the app returns to the beginning of the UIWebView setup
[webViewer release];
}
If I put the setup in the viewDidAppear section, it doesn't loop but after the setup is complete nothing happens.. The UIWebView is never added or loaded.
I have done this many times before and it has worked fine so I don't know why it isn't working this time.