I am converting my app to run on the ipad.
I have a view which is a UITableViewController. How can I cause the table to fill the screen with excess space filled with a background color when the table isn’t tall enough.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
All depends on the frame you give to the view controller. But most of the time I don’t use an UITableViewController but just an UITableView. It’s more simple to handle it to do things you want ^^
To fill the excess space you just need to set a backgroundColor to the superView. If it’s because you have less cells, then you could try setting the color to the uitableview view and setting color to the cell.
Maybe if you could give us a screenshot it would be easier 🙂 (or some pieces of code ^^)
Good Luck !