制作更薄的UITabBar [英] Making a thinner UITabBar

查看:75
本文介绍了制作更薄的UITabBar的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我希望能够通过删除每个项目的标题并回收它们占据的垂直空间来缩小UITabBar的高度,例如Tweetie 2. 在.xib中或以编程方式似乎无法设置此设置.我是否必须继承UITabBar并自己滚动?

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?

推荐答案

滚动您自己的.我确定Tweetie 2是自定义的;并在传下来的UITabBar中设置高度.

Roll your own. I'm sure Tweetie 2's is custom; and the height is set in the handed down UITabBar.

这篇关于制作更薄的UITabBar的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆