How to hide tab bar programmatically and then expand view to fit

前端 未结 5 686
余生分开走
余生分开走 2021-01-15 11:39

I got the code from this question: How to hide UITabBarController programmatically? which is brilliant, however the view doesn\'t expand to fit the space left by the tab bar

5条回答
  •  旧时难觅i
    2021-01-15 12:10

    Turns out its not quite possible. Best way is to present a modal view (navigation) controller instead of pushing a view controller.

提交回复
热议问题