自定义 UITabBarItem

发布于 2024-10-01 16:01:35 字数 110 浏览 1 评论 0原文

我需要自定义 UITabBarItem,我需要在其中添加自定义图像,但它是圆形图像,并且边界应该扩展到 UITabBar 之外,它应该在应用程序的 UIView 中显示按钮的某些部分。

谢谢

I need to customize UITabBarItem where I need to add a custom image but its a circular image and the boundary should expand beyond the UITabBar where it should display some of the parts of the button in the UIView of the application.

Thank you

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

め七分饶幸 2024-10-08 16:01:35

查看 https://github.com/xhan/PlutoLand 并运行它。

您可以找到一个自定义的 PLTabBarController ,它允许您在那里自定义 TabBarItems

check out https://github.com/xhan/PlutoLand and run it.

you can find a custom PLTabBarController which allow you custom your TabBarItems there

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文