Latest 1.1.3
License MIT
Platforms ios 8.0, requires ARC

XANavBarTransitionPod Version License

A simple navigation bar smooth transition library.


  • Gesture drive full screen push or pop.

  • Support sliding transition to the left or right.

  • Smooth transition of navigation bar.

  • Flexible control mechanism.


From CocoaPods :pod ‘XANavBarTransition’.

Manually import:
Drag XANavBarTransition folder into your project.
Import the header file:#import "XANavBarTransition.h".


Initialize in the viewDidLoad method of the controller.

  • If you want to change the navigation bar alpha , please set the property xa_navBarAlpha,the default is 1.

    self.xa_navBarAlpha = 0.5;

  • If you need the push feature, please confirm the transition mode and set the transition delegate object, implementation protocol method, the default is left mode.

    - (void)viewDidLoad {
        [super viewDidLoad];
        self.xa_transitionMode     = XATransitionModeRight;
        self.xa_transitionDelegate = self;
    - (UIViewController *)xa_nextViewControllerInTransitionMode:(XATransitionMode)transitionMode{
        UIViewController *nextVC = [[UIViewController alloc]init]; 
        return  nextVC;
  • The pop feature is enabled by default. If you want to turn off this feature, set xa_isPopEnable property to NO.

    self.xa_isPopEnable = NO;

See demo for details.



If you have problems during use, please submit an issue to me or @关于岚。Welcome to contact me!

Latest podspec

    "name": "XANavBarTransition",
    "version": "1.1.3",
    "summary": "A simple navigation bar smooth transition library",
    "homepage": "",
    "license": "MIT",
    "authors": {
        "XangAm": "[email protected]"
    "platforms": {
        "ios": "8.0"
    "source": {
        "git": "",
        "tag": "1.1.3"
    "source_files": "XANavBarTransition/**/*.{h,m}",
    "requires_arc": true

Pin It on Pinterest

Share This