Reputation: 1
I have two UIButton in my UIWebview and i want when i clicked on them previous/next article the WebView display the previous or next article without back in UITableView. But i don't know to do that.
It's a RSS feed application with a tableViewController witch store the articles of the feed and UIWebView witch display the content.
please help me :)
Upvotes: 0
Views: 1814
Reputation: 2099
You can do this:
- (IBAction) webViewGoBack
{
if ([webView canGoBack])
{
[webView goBack];
}
}
- (IBAction) webViewGoForward
{
if ([webView canGoForward])
{
[webView goForward];
}
}
Upvotes: 5