Skip to content
This repository has been archived by the owner on Feb 6, 2022. It is now read-only.

Commit

Permalink
Swipe to go back
Browse files Browse the repository at this point in the history
  • Loading branch information
JadenGeller committed Oct 26, 2015
1 parent a4d2ccd commit f84c6af
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Helium/Helium/WebViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ class WebViewController: NSViewController, WKNavigationDelegate {
// Allow zooming
webView.allowsMagnification = true

// Alow back and forth
webView.allowsBackForwardNavigationGestures = true

// Listen for load progress
webView.addObserver(self, forKeyPath: "estimatedProgress", options: NSKeyValueObservingOptions.New, context: nil)

Expand Down

0 comments on commit f84c6af

Please sign in to comment.