Skip to content
master
Switch branches/tags
Go to file
Code
This branch is even with zhz821:master.

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 

KAWebBrowser

KAWebBrowser is a web browser module written in Swift.

Powered by WKWebView on iOS 8.

Support showing page's loading status with an animated progressBar.

Screenshot

Features

  • Animated progress bar
  • Portrait and landscape orientation support
  • Work with existing UINavigationController or present modally
  • Installation with CocoaPods
  • Customizable UI
  • Customizable Toolbar & action buttons

Requirements

  • iOS 8.0+
  • Xcode 7.3+

Usage

Push to the navigation stack:

let browser = KAWebBrowser()
showViewController(browser, sender: nil)

browser.loadURLString("https://github.com")

Present Modally:

let navigationController = KAWebBrowser.navigationControllerWithBrowser()
showViewController(navigationController, sender: nil)

navigationController.webBrowser()?.loadURLString("https://github.com")

Installation

CocoaPods

CocoaPods is a dependency manager for Objective-C, which automates and simplifies the process of using 3rd-party libraries in your projects. See the "Getting Started" for more information.

Podfile
source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '8.0'
use_frameworks!

target '<Your Target Name>' do
    pod 'KAWebBrowser'
end

About

WKWebView with a progressBar

Resources

License

Packages

No packages published