search

Home  >  Q&A  >  body text

objective-c - iOS ,视图控制器A push 到 视图控制器B,再从B pop 回来 ,则对于B而言,能否在B视图表示A视图?

麻烦大家了,就是在B中能否用self来表示 或者其他的表示方式;比如present的方式就有presentedVC和presentingVC的表示方式

PHPzPHPz2894 days ago488

reply all(2)I'll reply

  • 迷茫

    迷茫2017-04-18 09:51:42

    I don’t understand your description. Can you explain clearly what you want to do?

    reply
    0
  • ringa_lee

    ringa_lee2017-04-18 09:51:42

    You mean BVC, get AVC instance? If so, yes.

    [self.navigationController viewControllers];
    在这个数组里面找。
    

    reply
    0
  • Cancelreply