Latest 0.3.0
Homepage https://github.com/zhz821/KAWebBrowser
License MIT
Platforms ios 8.0
Frameworks UIKit, WebKit
Authors

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

  • [x] Animated progress bar
  • [x] Portrait and landscape orientation support
  • [x] Work with existing UINavigationController or present modally
  • [x] 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

Latest podspec

{
    "name": "KAWebBrowser",
    "version": "0.3.0",
    "summary": "WKWebView with a progressBar",
    "description": "KAWebBrowser is a web browser module written in Swift.nIt contains a WKWebView and a progressBar.",
    "homepage": "https://github.com/zhz821/KAWebBrowser",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "zhihuazhang": "[email protected]"
    },
    "source": {
        "git": "https://github.com/zhz821/KAWebBrowser.git",
        "tag": "0.3.0"
    },
    "social_media_url": "https://twitter.com/zhz821",
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "KAWebBrowser/Classes/**/*",
    "frameworks": [
        "UIKit",
        "WebKit"
    ],
    "pushed_with_swift_version": "3.0"
}

Pin It on Pinterest

Share This