Partial Curl Modal Transition Style While Preserving Tool/Tab Bar

前端 未结 2 1103
小鲜肉
小鲜肉 2021-01-05 09:20

Is there a way to present a modal view controller that doesn\'t cover the tab bar of a UITabBarController?

Specifically I want to use the UIModalTransitionStyleParti

2条回答
  •  陌清茗
    陌清茗 (楼主)
    2021-01-05 09:51

    1. Have two view controllers
    2. In the first have the second as a subview
    3. Add your toolbar as a subview to the first and call bringSubviewToFront:
    4. Present the modal in the second

提交回复
热议问题