UIWebView 前进 后退 刷新 取消
- (IBAction)backButtonPush {
if (self.webView.canGoBack)
{
[self.webView goBack];
}
}
- (IBAction)forwardButtonPush {
if (self.webView.canGoForward)
{
[self.webView goForward];
}
}
- (IBAction)reloadButtonPush {
[self.webView reload];
}
- (IBAction)stopButtonPush {
if (self.webView.loading)
{
[self.webView stopLoading];
}
}
网友评论