NJKWebViewProgress is a progress interface library for UIWebView. Currently, UIWebView doesn’t have official progress interface. You can implement progress bar for your in-app browser using this module.
NJKWebViewProgress doesn’t use CocoaTouch’s private methods. It’s AppStore safe.
You can determine the current state of the document by comparing the progress value to one of the provided constants:
-(void)webViewProgress:(NJKWebViewProgress *)webViewProgress updateProgress:(float)progress
{
if (progress == NJKInteractiveProgressValue) {
// The web view has finished parsing the document,
// but is still loading sub-resources
}
}
This repository contains iOS 7 Safari style bar NJKWebViewProgressView. You can choose NJKWebViewProgressView, UIProgressView or your custom bar.
NJKWebViewProgress
NJKWebViewProgress is a progress interface library for UIWebView. Currently, UIWebView doesn’t have official progress interface. You can implement progress bar for your in-app browser using this module.
NJKWebViewProgress doesn’t use CocoaTouch’s private methods. It’s AppStore safe.
Used in Production
Requirements
Usage
Instance
NJKWebViewProgress
and setUIWebViewDelegate
. If you setwebViewProxyDelegate
,NJKWebViewProgress
should perform as a proxy object.When UIWebView start loading,
NJKWebViewProgress
call delegate method and block with progress.You can determine the current state of the document by comparing the
progress
value to one of the provided constants:This repository contains iOS 7 Safari style bar
NJKWebViewProgressView
. You can chooseNJKWebViewProgressView
,UIProgressView
or your custom bar.Install
CocoaPods
License
MIT license.