I am trying to push a view controller from a view controller which is presented as a bottom-half Modal. When I try to push the view controller, it showed up within the bounds of the presented bottom-half view.
How can I push a new view controller as a full screen view on to the navigation stack from a view controller which is presented as a bottom-half modal?
Here is how I solved this issue.
Have a Master Vie wController with full screen and clear colour and add a child view controller (which is basically a bottom-half view or content view) to it, and then present master view controller. Since master view controller is having full screen when you push a new view controller it shows in full screen. Content view is always bottom-half and we don't have to dismiss modal view controller.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.