I created UItableViewController
. I want to resize the table and add my application background image, labels and a button... But I can't. Does anyone have any idea why?
This is what I've made in interface builder:
But when I buil开发者_开发百科d, I have the table view in the whole interface .
In interface builder find Attributes tab for that view and set top bar dropdown to none.
Open UItableViewController.xib in interface builder and table will appear. Open Utilities and you will see various properties for selected object. There are several tabs showing properties of said object. Switch to Attributes tab right at the top, in Simulated metrics set Top bar property to None.
Edit #2: Background image is set per view, not per application. For instance UITableView has property backgroundView which you set with UIImageView. UITableView style has to be Grouped for this to work. Buttons, labels can either be in header, section or footer views, or in navigation controller and tab/tool bar.
http://i.stack.imgur.com/68fL7.png
I've been struggling with this, and thanks to the answer above, I found you have to set both "Top Bar" and "Status Bar" to None, then you can resize the UITableView.
精彩评论