I have a uiwebview embedded within a navigation controller. I would like the ability to change the uiwebview by simply clicking a uibarbuttonitem. anyone have any idea how to do that?
heres the method i have right now.
-(void)action {
if (item.link) {
self.linkString = item.link;
}
NSString *urlAddress = @"%@/#comments", linkString;
NSURL *address = [NSURL URLWithString:urlAddress];
NSURLRequest *requestObj = [NSURLRequest requestWithURL:address];
[contentLabel loadRequest:requestObj];
}