LeoNatan / LNPopupController

A framework for presenting view controllers as popups of other view controllers, much like the Apple Music and Podcasts apps.
MIT License
3.04k stars 342 forks source link

prefersHomeIndicatorAutoHidden not called #566

Closed mmdumi closed 8 months ago

mmdumi commented 8 months ago

Describe the Bug I'm trying to control the home indicator appearance when presenting a controller from inside LNPopupController framework.

To Reproduce I've attached a sample project to easily test this behaviour.

  1. In ViewController line: 31 - if you call presentPopupBar you will see that prefersHomeIndicatorAutoHidden inside PresentedViewController is NOT called
  2. In ViewController line: 32 - if you call present(controller you will see that prefersHomeIndicatorAutoHidden inside PresentedViewController IS called correctly

Additional Context Uploaded sample project. Test.zip

Thank you

LeoNatan commented 8 months ago

Hello,

Indeed, this is a use case I have not looked into. Will try to provide it soon.

Thanks

LeoNatan commented 8 months ago

2.18.7