ergunemr / BottomPopup

BottomPopup provides a popup-like presentation style to any view controller
MIT License
875 stars 88 forks source link

can I popup a ViewController with NavigationBar? #4

Closed heyehao2008 closed 5 years ago

heyehao2008 commented 5 years ago

can I popup a ViewController(named A) with NavigationBar, and use this bar to push another ViewController(named B) A and B has same height

ergunemr commented 5 years ago

Unfortunately you cannot present navigation controller at this time. But I'm adding this feature to todo list and it will be available in next release 👍Thank you

heyehao2008 commented 5 years ago

awesome!👍

ergunemr commented 5 years ago

Hello there, BottomPopupNavigationController is available now. ( with version 0.3.1 )If you want to present navigation controller with navigation bar, in storyboard embed your view controller in a navigation controller. then create a navigation controller subclass and make it super class BottomPopupNavigationController Then you can present your navigation controller with default present method. Navigation bar and pushing operations will work fine. By the way you can look at the example project, i have updated it too. Inform me if any unexpected behaviour occurs. @heyehao2008

heyehao2008 commented 5 years ago

perfect👍 I will use it in my current project.