Lnpopupcontroller: Change modalPresentationStyle

Created on 5 Mar 2018  路  4Comments  路  Source: LeoNatan/LNPopupController


Hello,
I want to change modalPresentationStyle while presenting presentPopupBar.

Description

popupContentController.modalPresentationStyle = .overCurrentContext tabBarController?.modalPresentationStyle = .overCurrentContext

tabBarController?.presentPopupBar(withContentViewController: popupContentController, animated: true, completion: nil)

Steps to Reproduce

I want tabbar while presenting.

Thanks in advance.

Device, OS and Xcode Versions

question

Most helpful comment

Yeah I agree that this would be ideal. Being able to present a 3/4 sheet. Apple Music style

All 4 comments

I don't understand what you are attempting to achieve.

I want Presenting a new View Controller Keeping Tab Bar. So I will achive through overCurrentContext but it will not performing while I use presentPopupBar.

Thanks in advance!

Not possible. When a popup is presented, it is presented in full screen always.

Yeah I agree that this would be ideal. Being able to present a 3/4 sheet. Apple Music style

Was this page helpful?
0 / 5 - 0 ratings