Skip to content

Commit

Permalink
Disable forward/back buttons in UIWebView by default
Browse files Browse the repository at this point in the history
  • Loading branch information
lazerwalker committed Apr 22, 2014
1 parent 7e84e2a commit 134c62c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions IntentKit/Apps/INKWebView/INKWebViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,9 @@ - (UIToolbar *)setUpToolbar {

toolbar.items = @[fixed, self.backButton, flexible, self.forwardButton, flexible, self.refreshButton, flexible, self.shareButton, fixed];

self.forwardButton.enabled = NO;
self.backButton.enabled = NO;

return toolbar;
}

Expand Down

0 comments on commit 134c62c

Please sign in to comment.