且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

带有自定义颜色的标签栏

更新时间:2023-01-27 18:51:28

正如 nicktmro 所说,您必须自定义所有内容.

As nicktmro noted, you have to customize everything.

检查这个先前的答案:更改UITabBar的色调/背景颜色(检查这个答案的几个答案,稍后的答案修复了已接受答案的问题)

Check this previous answer: Changing Tint / Background color of UITabBar (check a couple of answers on this one, a later answer fixes problems with the accepted answer)

还有这篇博文:iPhone TabBar 自定义背景图片

添加

这是另一个看起来干净简单的:

Here's another one that looks clean and easy:

UITabBar 中的自定义颜色

请务必阅读对答案的评论.

Be sure to read the comment on the answer.