使用UIButton替换UITabBar中的选项卡栏按钮 [英] Replace tab bar button in UITabBar with a UIButton

查看:215
本文介绍了使用UIButton替换UITabBar中的选项卡栏按钮的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在tabbar有一个应用程序,但我需要一个UIButton insted的tabbar按钮。有4个tabbarbuttons,我想用一个UIButton替换。感谢。

I have an application in tabbar, but I need to put a UIButton insted of a tabbar button. There are 4 tabbarbuttons in it, I want to replace the one with UIButton. Thanks.

推荐答案

如果要使用UIButtton而不是tabbar,请使用所有四个选项卡。将一个标签留空,并在要替换的相同视图上放置相同尺寸的按钮。

If you want to use UIButtton instead of tabbar, use all four tabs. Make one tab blank and put a button of same size at same view on which you want to replace.

这篇关于使用UIButton替换UITabBar中的选项卡栏按钮的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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