Last active
August 24, 2017 15:25
-
-
Save Dimillian/4f6b466be2feb1eb52c91cc3d2c8b774 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class ReaderWebView: WKWebView { | |
init(frame: CGRect, asset: ObjectId) { | |
let conf = WKWebViewConfiguration() | |
conf.setURLSchemeHandler(GLAssetHandler(), forURLScheme: "glasset") | |
super.init(frame: frame, configuration: conf) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment