Skip to content

iOS navigation controller with progress bar and TweetBot 3-like back button for navigation

License

Notifications You must be signed in to change notification settings

suchtomwow/BLSKit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BLSNavigationController

iOS navigation controller with TweetBot 3-like back button for web content and progress bar

Demo

BLSNavigation controller handles all the hassle of in-app web browsing for you. It automatically sets the title of the webpage, shows a loading progress bar, and handles backwards navigation. The back button behavior is inspired by Tweetbot 3. The navigation controller's traditional back button is used to navigate backward in the webpage stack, but still maintains traditional swipe-from-edge gesture to get you directly back to the previous view controller if needed.

To Use

  • Drop BLSNavigationController.swift into your project.
  • You are assumed to be using iOS 8's WKWebView as your webview.
  • In the VC where you want jazz-like navigation, override loadView() and create a WKWebView. Assign the the navigation controller's 'webView' property to the WKWebView istance that you just created.
  • That's it. You're done.

Requirements

  • iOS 8

  • WKWebView as your webView

Pull requests are welcome!

About

iOS navigation controller with progress bar and TweetBot 3-like back button for navigation

Resources

License

Stars

Watchers

Forks

Packages

No packages published