阅读背景:

Swift -如何将视图控制器的引用传递给子UIView类?

来源:互联网 

I have a UIViewController and a UIView inside it. When I try to add an alert inside the UIView, I have to use the controller to present the UIAlertController. How do I pass the reference of UIViewController to the UIView class? Or alternatively how do I create a delegate of controller?I have a UIViewController and a UIView inside i




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: