presentedViewController与presenti

2017-05-04  本文已影响637人  ThaiLanKing

presentedViewControllerpresentingViewController是UIViewController里面的两个属性

有两个类A、B,在A类跳转到B类,需要在A类中操作B类的属性或方法可以使用presentedViewController

在B类中需要操作A类中的属性或方法可以用presentingViewController

我们可以使用presentedViewController和presentingViewController进行界面之间的传递值

转载自presentedViewController和presentingViewController的使用

上一篇 下一篇

猜你喜欢

热点阅读