search

Home  >  Q&A  >  body text

objective-c - iOS手势操作单击跳转的代码怎么写?

我知道单击事件怎么写,但是不知道手势操作的跳转代码怎么写,哪位大神给个答案,谢啦/

PHPzPHPz2892 days ago241

reply all(1)I'll reply

  • 迷茫

    迷茫2017-04-18 09:35:11

    Wow, I already know the gestures. If I jump, it’s the same as usual

    • (void)presentViewController:(UIViewController *)viewControllerToPresent animated: (BOOL)flag completion:(void (^ __nullable)(void))completion

    or

    • (void)pushViewController:(UIViewController *)viewController animated:(BOOL)animated;

    reply
    0
  • Cancelreply