I would like to be able to thin the UITabBar's height by removing each item's titles and reclaiming the vertical space they take up, a la Tweetie 2. This doesn't seem settable in the .xib or programmatically. Will I have to subclass the UITabBar and roll my own?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
Roll your own. I'm sure Tweetie 2's is custom; and the height is set in the handed down UITabBar.
回答2:
You can achieve a similar effect by placing a segmented control inside a uitoolbar. I did this and it looks quite nice.