Drop-in replacement with UINavigationController
- Go back with pan gesture
- iOS 7 like animation
- Just replace your UINavigationController
Drag Products/HMRNavigationController.framework to your project.
Import the header:
#import "HMRNavigationController/HMRNavigationController.h
Replace your UINavigationController with HMRNavigationController:
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
MyViewController *mainViewController = [[MyViewController alloc] init];
UINavigationController *navigationController = [[HMRNavigationController alloc] initWithRootViewController:mainViewController];
[navigationController setNavigationBarHidden:YES animated:NO];
self.window.rootViewController = navigationController;
[self.window makeKeyAndVisible];
return YES;
}