TestsTested | ✗ |
LangLanguage | Obj-CObjective C |
License | MIT |
ReleasedLast Release | Dec 2014 |
Maintained by Anton Domashnev.
Category for UIViewController with UIScrollView to scroll statusBar along any UIScrollView subclass.
UIViewController-ScrollingStatusBar works on any iOS version only greater or equal than 7.0 and is compatible with only ARC projects. It depends on the following Apple frameworks:
You will need LLVM 3.0 or later in order to build UIViewController-ScrollingStatusBar.
There is an old school way to add the UIViewController-ScrollingStatusBar to your project is to directly add the source files from Source folder in project folder to your project.
You can create scrolling status bar with only a one line of code for any UIViewController subclass
/*
import category
*/
#import "UIViewController+ScrollingStatusBar.h"
/*
for example in viewDidLoad
*/
- (void)viewDidLoad
{
...
[self enableStatusBarScrollingAlongScrollView: someScrollView];
}
/*
Don't forget to disable it in for example dealloc
*/
- (void)dealloc
{
[self disableStatusBarScrollingAlongScrollView: someScrollView];
}
This code is distributed under the terms and conditions of the MIT license.