开发者

Navigation controller for table view

开发者 https://www.devze.com 2023-02-19 19:02 出处:网络
Am trying to create tableview app with multiple views using navigation app template to conform to Human Interface Guidelines. But I want table on initial view to only occupy the bottom half of the scr

Am trying to create tableview app with multiple views using navigation app template to conform to Human Interface Guidelines. But I want table on initial view to only occupy the bottom half of the screen; apparently default is for table to occupy entire screen. Is this possible? Will this result in app being rejected due to not conforming to standards? Thank you, I am n开发者_C百科ew to iOS programming.


You should modify the RootViewController.xib. Add a UIView to the xib and then drag the existing table view into that view. Also, be sure to set the view connection of the "File's Owner" to point to your new view instead of the tableview.

You can then customize the size and location of the tableview as a subview of the main view for the ViewController.


Is possible, and not a reason for it to be rejected.

0

精彩评论

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