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?
精彩评论