冷静下来看了下,貌似聽简单,蛋疼,忙完才发现,弄的时候咋没发现,靠

 

push,present等可以全部用下面这个api搞定

- (void)performSegueWithIdentifier:(NSString *)identifier sender:(id)sender

identifier是那个两个viewController之间的连接线,直接用鼠标右键拖动vc1到vc2,就会问,亲,你是push,还是model,还是custom?

custom还不知道,push和model都用这个搞定了

很好很强大

相关文章:

  • 2021-11-04
  • 2022-12-23
  • 2021-12-30
  • 2021-05-20
  • 2022-12-23
  • 2021-06-18
  • 2021-06-26
  • 2021-05-29
猜你喜欢
  • 2021-08-25
  • 2021-08-31
  • 2021-08-27
  • 2021-06-20
  • 2022-12-23
  • 2022-01-24
  • 2020-03-29
相关资源
相似解决方案