GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - xiaoyi3699/LLNavigationController: This is a subClass Of UINavigationController.本导航条继承UINavigationController,自定义滑动返回手势与滑动动画,同时可自定义过场动画,解决了手势共存时的冲突。在系统类的基础上进行扩展,节约性能,无任何代码耦合度,可随时集成与剥离。支持iOS7以上系统,兼容iOS11,版本稳定。

BranchesTags
Open more actions menu

Latest commit

 

History

21 Commits
21 Commits

Folders and files

NameName
Last commit message
Last commit date
LLNavigationController.xcodeproj
LLNavigationController.xcodeproj
 
 
LLNavigationController
LLNavigationController
 
 
LLNavigationControllerTests
LLNavigationControllerTests
 
 
LLNavigationControllerUITests
LLNavigationControllerUITests
 
 
README.md
README.md
 
 

Repository files navigation

我的博客:iOS使用系统的导航栏,自定义滑动返回手势与转场动画<br />

//自定义滑动返回手势与动画

Image text

//自定义转场动画

- (nullable id <UIViewControllerAnimatedTransitioning>)navigationController:(UINavigationController *)navigationController animationControllerForOperation:(UINavigationControllerOperation)operation fromViewController:(UIViewController *)fromVC toViewController:(UIViewController *)toVC{
    if (operation == UINavigationControllerOperationPush) {//push动画
        if(self.presentTransition){
            Class transition = NSClassFromString(self.presentTransition);
            return [transition new];
        }
    }
    else if (operation == UINavigationControllerOperationPop) {//pop动画
        if(self.dismissTransition){
            Class transition = NSClassFromString(self.dismissTransition);
            return [transition new];
        }
    }
    return nil;
}

About

This is a subClass Of UINavigationController.本导航条继承UINavigationController,自定义滑动返回手势与滑动动画,同时可自定义过场动画,解决了手势共存时的冲突。在系统类的基础上进行扩展,节约性能,无任何代码耦合度,可随时集成与剥离。支持iOS7以上系统,兼容iOS11,版本稳定。

Topics

navbarnavigation-controllernavigationbar

Resources

Readme
Activity

Stars

18 stars

Watchers

1 watching

Forks

6 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.