by Just-

Simple category to show a loading status in a navigation bar in place of left/right items or title.

210 Stars 21 Forks Last release: Not found MIT License 6 Commits 2 Releases

Available items

No Items, yet!

The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:



Easy way to show loading/uploading status for user in a navigation bar.


With needing of this pattern again I decide to make this category. So here it is, with just few methods and fully customized in color.



or build it yourself

pod try UINavigationItem+Loading


Just import this category in your view controller (which is embed in UINavigationController).


When you need to show loading status just call

[self.navigationItem startAnimatingAt:ANNavBarLoaderPositionCenter];

Left, right and center position are available. So you can also use

for loader position. When you need to stop it nothing can be more simple as

[self.navigationItem stopAnimating];

That’s all!

To customize color for loader just set it with appearance proxy like this

[UIActivityIndicatorView appearanceWhenContainedIn:[UINavigationBar class], nil].color = [UIColor blackColor];


Add the following to your CocoaPods Podfile

pod 'UINavigationItem+Loading', '~> 1.1'

or clone it as a git submodule,

or just copy files


All this code is available under the MIT license.


Follow me on Twitter or Github

More sources

You can be also interested to simplify your work with iOS keyboard UIViewController-KeyboardAnimation

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.