错误写法!!!
var customView = Bundle.main.loadNibNamed("customView", owner: self, options: nil)?.last as! UIView
正确写法.. N C 了...
var customView = Bundle.main.loadNibNamed("customView", owner: self, options: nil)?.last as! customView
错误写法!!!
var customView = Bundle.main.loadNibNamed("customView", owner: self, options: nil)?.last as! UIView
正确写法.. N C 了...
var customView = Bundle.main.loadNibNamed("customView", owner: self, options: nil)?.last as! customView
本文标题:swift 自定义UIView (xib) VC访问不了其内部属
本文链接:https://www.haomeiwen.com/subject/ezldiktx.html
网友评论