Skip to content
UIWebView progress interface
Objective-C Ruby
Branch: master
Clone or download
Type Name Latest commit message Commit time
Failed to load latest commit information.
DemoApp.xcodeproj Update DemoApp using NJKWebviewProgressView Nov 16, 2013
DemoApp fix typo Sep 7, 2015
NJKWebViewProgress Merge pull request #42 from masbog/patch-1 Oct 7, 2015
LICENSE add LICENSE file Apr 23, 2013
NJKWebViewProgress.podspec Update podspec May 7, 2014 Publicize web view progress constants. Mar 29, 2014


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.

iOS ScreenShot 1

NJKWebViewProgress doesn't use CocoaTouch's private methods. It's AppStore safe.

Used in Production


  • iOS 4.3 or later
  • ARC


Instance NJKWebViewProgress and set UIWebViewDelegate. If you set webViewProxyDelegate, NJKWebViewProgress should perform as a proxy object.

_progressProxy = [[NJKWebViewProgress alloc] init]; // instance variable
webView.delegate = _progressProxy;
_progressProxy.webViewProxyDelegate = self;
_progressProxy.progressDelegate = self;

When UIWebView start loading, NJKWebViewProgress call delegate method and block with progress.

-(void)webViewProgress:(NJKWebViewProgress *)webViewProgress updateProgress:(float)progress
    [progressView setProgress:progress animated:NO];
progressProxy.progressBlock = ^(float progress) {
    [progressView setProgress:progress animated:NO];

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.



pod 'NJKWebViewProgress'


MIT license.

You can’t perform that action at this time.