Search code examples
objective-cxcodeipadmaster-detail

UITableView and UIView in the MasterViewController, UIView invisible


I'm going to use UITableView in the top of the MasterView and the UIView in the bottom of the MasterView. Here is my temp application: http://www.file-upload.net/download-4547664/MDA_protocol-8.zip.html . Unfortunately the UIView isn't visible and the UITableView takes all place in the MasterView. Maybe some settings are wrong?


Solution

  • Probably because your MasterView is of type UITableViewController, its only meant to hold a UITableView. I would suggest making your MasterView just a UIViewController and adding a TableView object to the top and a UIView to the bottom.