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.
精彩评论