ALWebViewController is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'ALWebViewController'
import ALWebViewController
// URL Example
let url = URL(string: "https://www.google.com")!
let urlType = ALWebContentType.url(url: url)
let webVC = ALWebViewController(content: type)
navigationController?.pushViewController(webVC, animated: true)
// Html String Example
var html = "<html><body><h1> Title </h1></body></html>"
let htmlType = ALWebContentType.html(html: html
let webVC = ALWebViewController(content: htmlType)
navigationController?.pushViewController(webVC, animated: true)
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Soner Güler, sonerguler93@gmail.com Ünal Çelik, unal.celik@applogist.com
ALWebViewController is available under the MIT license. See the LICENSE file for more info.