如何将相机按钮添加到 UITabBar 中?

发布于 2024-10-12 10:42:15 字数 265 浏览 10 评论 0原文

有谁知道如何将相机按钮添加到 UITabBar 中,就像我们在“路径”中看到的那样? http://i.appsafari.com/wp-content/uploads /2010/11/path.jpg

是扩展的UITabBar/UITabBarItem还是原来的类? 如果您有任何想法,请告诉我。

谢谢。

Does anyone know how to add a Camera button into a UITabBar, like the one we see in 'Path'?
http://i.appsafari.com/wp-content/uploads/2010/11/path.jpg

Is it a extended UITabBar/UITabBarItem or an original class?
Please let me know if you have any idea.

Thanks.

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

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

发布评论

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

评论(3

玻璃人 2024-10-19 10:42:15

我敢打赌这是一个漂浮在“虚拟”选项卡栏项目顶部的自定义按钮。无论如何,这是我尝试实现类似方法的第一个方法。

I would bet it's a custom button floating on top of a "dummy" tab bar item. That's the first approach I'd try to implementing something like that, anyway.

哎呦我呸! 2024-10-19 10:42:15

@Taketo Sano 解决您问题的一种替代方法是向选项卡栏提供类似相机的按钮(如您所提供的)的自定义图像

@Taketo Sano one alternative to your problem is to give a custom image of camera like button (as you had given) to the tab bar

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