开发者

Customizing UITabBarController

I开发者_运维技巧 need to change font size and background color of the list displayed by "More" button of the UITabBarController. Is it possible ? How can I do it ? Thanks a lot.


UITabBarController has a property called moreNavigationController, the root view of which is presumably the UITableView you see when you tap the "More" button.

If you want to customize the table view cells, you'll need to reassign its dataSource to an object you control. But, you'll need to implement every method of UITableViewDataSource and forward those messages to the original data source.

In your implementation of tableView:cellForRowAtIndexPath:, you'll be able to customize the cell returned by the original data source's implementation of that method.

Sounds like a lot of work just to change some fonts, doesn't it?

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜