Group Group Group Group Group Group Group Group Group

How to create a reversed Bottom Sheet from the top in IOS?

I need to implement a reversed bottom sheet which should be sliding from the top of the parent view to the bottom.I have done my research and found plenty of supported libraries, but all of them don’t work with sliding from the top of the view. I have tried to apply translation and reverse a drawer layout by 180 degrees in Pulley, but it created issues with safe area in iPhoneX for example.

Perhaps I am overcomplicating things with manually editing libraries, but I would like to get possible solutions or sample codes for creating this particular UI.

It should be done with regular interface builder in code, not in Swift UI at the moment.