How to place tab bar on top of screen in iPhone

痴心易碎 提交于 2019-12-10 11:47:01

问题


I m pretty new to objective -C and have stumbled upon this issue ..

I have to have a tab bar on top of screen and some buttons like search ,Info,Profile on it .If a button is pressed then correspondingly it should open its own view.But I found that in iPhone tab bar is placed at bottom. How can I place tab bar on top of screen.? If not possible then what could be the alternative to achieve my task .

Any help is appreciable...


回答1:


i think what you searching is here. https://github.com/hollance/MHTabBarController




回答2:


An alternative to your task is placing it at the bottom. It's against the iOS User Interface Guidelines to place it anywhere else.



来源:https://stackoverflow.com/questions/13054636/how-to-place-tab-bar-on-top-of-screen-in-iphone

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!