Add a UIButton as a subview to a UITabBar

后端 未结 2 1887
别那么骄傲
别那么骄傲 2020-12-11 16:42

I am trying to implement a hideable UITabBar in my app. I\'ve set up all the animations, and they work very well. I\'m just having an issue getting my UIButton \"pull-tab\"

2条回答
  •  爱一瞬间的悲伤
    2020-12-11 17:16

    You can still add the UIButton to the UITabBarController's main view, not in the UITabBar though.... [myUITabBarController.view addSubview:pullButton]

提交回复
热议问题