storyboard中通过viewWithTag取tableview

来源:互联网 发布:mysql 获取当前毫秒数 编辑:程序博客网 时间:2024/05/07 03:15

问题:运用storyboard生成tableview,在代码中想要取这个tableview,但是viewWithTag后却显示null,取不到这个tableview
解决:在storyboard的show the Attributes inspector中有一项installed项,勾选上。

0 0
原创粉丝点击