开发者

Load UITableView inside a UIView

Do I need a UIT开发者_高级运维ableViewController in addition to my UIViewController if I want to load a UITableView as a subview along with several other views at one time?


No, just make your UIViewController the data source and delegate of the UITableView subview, and make sure the UIViewController adopts the appropriate protocols in the header file.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜