TestsTested | ✗ |
LangLanguage | Obj-CObjective C |
License | MIT |
ReleasedLast Release | May 2015 |
Maintained by Albert Montserrat.
To run the example project, clone the repo, and run pod install
from the Example directory first.
UINavigationControllerGameFade gives you the functionality to make fade transitions such as,
Push:
SampleViewController *sample = [self.storyboard instantiateViewControllerWithIdentifier:@"sampleviewcontroller"];
[self.navigationController pushFadeViewController:sample];
Pop:
[self.navigationController popFadeViewController];
Reset root view controller:
SampleViewController *sample = [self.storyboard instantiateViewControllerWithIdentifier:@"sampleviewcontroller"];
[self.navigationController resetRootViewController:sample andPop:YES];
Replace current view controller with an other view controller:
SampleViewController *sample = [self.storyboard instantiateViewControllerWithIdentifier:@"sampleviewcontroller"];
[self.navigationController replaceCurrentViewControllerWithViewController:sample];
Or even replace the current view controller and some other view controllers in the stack with another view controller:
SampleViewController *sample = [self.storyboard instantiateViewControllerWithIdentifier:@"sampleviewcontroller"];
[self.navigationController replaceCountViewControllers:2 withViewController:sample];
Test the sample app to see the power of this features!
iOS 6 and above.
UINavigationControllerGameFade is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod "UINavigationControllerGameFade"
Albert Montserrat, [email protected]
UINavigationControllerGameFade is available under the MIT license. See the LICENSE file for more info.