Skip to content

ioscodigo/ICAppBrowser

Repository files navigation

ICAppBrowser

#[![CI Status](http://img.shields.io/travis/Arief Budi Santoso/ICAppBrowser.svg?style=flat)](https://travis-ci.org/Arief Budi Santoso/ICAppBrowser) Version License Platform

Example

To run the example project, clone the repo, and run pod install from the Example directory first. For Navigation Controller

let webVC = ICAppBrowserVC(urlString: "https://www.google.com")
webVC.delegate = self
self.navigationController?.pushViewController(webVC, animated: true)

For Present Controller default

let webVC = ICAppBrowserModalVC(urlString: "https://www.google.com")
self.present(webVC, animated: true, completion: nil)

For Present Controller Themes available themes : dark, lightBlack, lightBlue available dismissbutton : arrow, cross

let webVC = ICAppBrowserModalVC(urlString: "https://www.google.com", theme: .dark, dismissButtonStyle: .arrow)
self.present(webVC, animated: true, completion: nil)

Requirements

swift 3

Installation

ICAppBrowser is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod "ICAppBrowser", :git => 'https://github.com/ioscodigo/ICAppBrowser.git'

Author

Arief Budi Santoso, me@ariefbudisantoso.com

License

ICAppBrowser is available under the MIT license. See the LICENSE file for more info.