开发者

How to add Tabbarcontroller to existing view in xcode?

开发者 https://www.devze.com 2023-03-17 10:43 出处:网络
I am unable to add tabbarcontroller in my existing view in my app. I don开发者_运维知识库t want a tab bar application but tabbar in oneof my view in application.Can someone please Help meTo show a vie

I am unable to add tabbarcontroller in my existing view in my app. I don开发者_运维知识库t want a tab bar application but tabbar in oneof my view in application.Can someone please Help me


To show a view that has got a tab bar in it, you don't need to have a tab bar base application.

Simply create a UITabBarController and then add its view to your main view (as a subview or how ever it is ok for you). You can create the UITabBarController either in IB or programmatically.

0

精彩评论

暂无评论...
验证码 换一张
取 消