开发者

How to set the RootViewController to a Grouped Table in SplitViewController

Instead of the plain type of table I want a Grouped one in the RootView开发者_如何学PythonController.Anyone knows how to do this?


Add the following to viewDidLoad of RootViewController.m

[self.tableView initWithFrame:self.tableView.frame style:UITableViewStyleGrouped];

this will change the tableview style.


First You create xib design for RootViewController and in attributes inspector change tableview style to grouped .Its work well

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜