问题:运用storyboard生成tableview,在代码中想要取这个tableview,但是viewWithTag后却显示null,取不到这个tableview
解决:在storyboard的show the Attributes inspector中有一项installed项,勾选上。
storyboard中通过viewWithTag取tableview
最新推荐文章于 2018-06-01 12:39:02 发布
问题:运用storyboard生成tableview,在代码中想要取这个tableview,但是viewWithTag后却显示null,取不到这个tableview
解决:在storyboard的show the Attributes inspector中有一项installed项,勾选上。