Defined outlets, connected them, everything looks fine, nothing works.
- by Tom
Hi!
I'm trying to play with a WebView.
I made an outlet:
IBOutlet UIWebView *browser;
Defined it as a property:
@property (nonatomic, retain) IBOutlet UIWebView *browser;
Synthethized it:
@synthesize browser;
Finally, I connected it in Interface Builder, really it is.
Then I try to do something with it i.e.:
[browser loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:@"http://apple.com"]]];
Or also:
Etape *etape = [[Etape alloc] init];
NSString *html = [etape generateHTMLforEtape:[current_etape objectAtIndex:0]];
[browser loadHTMLString:html baseURL:nil];
[etape release];
I get no errors, I tried to Build & Analyse, no notices or warnings or errors.. I've been searching for one whole day, please help me :/
Thanks a lot!
EDIT: Here's screenshots of my connections for my WebView: