如何将相机按钮添加到 UITabBar 中?
有谁知道如何将相机按钮添加到 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
我敢打赌这是一个漂浮在“虚拟”选项卡栏项目顶部的自定义按钮。无论如何,这是我尝试实现类似方法的第一个方法。
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.
您可以使用这个开源标签栏
https://github.com/boctor/idev-recipes/tree/master/RaishedCenterTabBar
You can use this open source tab bar
https://github.com/boctor/idev-recipes/tree/master/RaisedCenterTabBar
@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