提问人:daniel 提问时间:8/10/2023 更新时间:8/10/2023 访问量:24
如何在CNContactViewController中访问子视图?
How would I access subviews in CNContactViewController?
问:
如何访问 CNContactViewController 中的子视图。我知道它们是CNContactViewController中UIView实例的属性,因为CNContactViewController继承自UIViewController。
这是我的代码:
print("subviews count: \(self.contactViewController.view.subviews.count)")
以下是调试窗口中的结果:
subviews count: 0
答: 暂无答案
评论