WKWebView with a progressBar
Switch branches/tags
Clone or download
Pull request Compare This branch is even with zhz821:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Example
KAWebBrowser
screenshots
.gitignore
.swift-version
.travis.yml
KAWebBrowser.podspec
LICENSE
README.md
_Pods.xcodeproj

README.md

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