GithubHelp home page GithubHelp logo

imqiuhang / qhpageviewcontroller Goto Github PK

View Code? Open in Web Editor NEW
13.0 1.0 2.0 2.34 MB

更简单的PageViewController,解决UIPageViewController各种崩溃问题。

License: MIT License

Objective-C 96.49% Ruby 3.51%
pager-controller uipageviewcontroller pagertabstrip

qhpageviewcontroller's Issues

reload [self.pageView moveToControllerAtIndex:3 animation:YES]; 会刷新好几个控制器的viewdidload

  • (void)setup {

    self.pageView = [[QHPageViewController alloc] initWithOrientation:QHPageViewControllerNavigationOrientationVertical
    delegate:self
    dataSource:self];
    [self addChildViewController:self.pageView];
    [self.view addSubview:self.pageView.view];
    self.pageView.view.autoresizingMask = UIViewAutoresizingFlexibleWidth|UIViewAutoresizingFlexibleHeight;
    [self.pageView reload];
    [self.pageView moveToControllerAtIndex:3 animation:YES];
    }

2020-11-25 10:57:23.992897+0800 Example[11844:1898543] 创建0
2020-11-25 10:57:23.993239+0800 Example[11844:1898543] viewDidLoad ==== 0
2020-11-25 10:57:23.996345+0800 Example[11844:1898543] viewWillAppear ==== 0
2020-11-25 10:57:23.996580+0800 Example[11844:1898543] viewDidAppear ==== 0
2020-11-25 10:57:23.996703+0800 Example[11844:1898543] 创建3
2020-11-25 10:57:23.996922+0800 Example[11844:1898543] viewDidLoad ==== 3
2020-11-25 10:57:23.997303+0800 Example[11844:1898543] viewWillAppear ==== 3
2020-11-25 10:57:23.997471+0800 Example[11844:1898543] viewWillDisappear ==== 0
2020-11-25 10:57:23.997635+0800 Example[11844:1898543] viewDidDisappear ==== 0
2020-11-25 10:57:23.997703+0800 Example[11844:1898543]

0>>>>>>>move to >>>>>>>3

2020-11-25 10:57:23.997815+0800 Example[11844:1898543] viewDidAppear ==== 3
2020-11-25 10:57:24.001910+0800 Example[11844:1898543] viewWillAppear ==== 3
2020-11-25 10:57:24.005804+0800 Example[11844:1898543] dealloc ==== 0
2020-11-25 10:57:24.048016+0800 Example[11844:1898543] viewDidAppear ==== 3

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.