This is a NavigationController about Parallax,it like 网易app
KKNavigationController works on any iOS version. Only ARC.
Include KKNavigationController wherever you need it with #import "KKNavigationController.h"
.
Alternatively you can directly add the KKNavigationController.h
& KKNavigationController.m
source files to your project.
- Download the latest code version or add the repository as a git submodule to your git-tracked project.
- Open your project in Xcode, then drag and drop
KKNavigationController.h
&KKNavigationController.m
onto your project (use the "Product Navigator view"). Make sure to select Copy items when asked if you extracted the code archive outside of your project. - Include KKNavigationController wherever you need it with
#import "KKNavigationController.h"
.
self.viewController = [[KKNavigationController alloc]
initWithRootViewController:
[[TSViewController alloc]init]];
This code is distributed under the terms and conditions of the MIT license.
A brief summary of each KKNavigationController release can be found on the wiki.