simple question how do I access something in my UIView
from the UIViewController
? i tried
self.view.functionname(variables)
but it dosent work..
解决的办法是-
(self.view as! MyView'sName).myFunction
访问viewController的视图yourViewController.view
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.