These new half modal sheets with UISheetPresentationController
are looking superb. developer.apple.com/wwdc21/10063
I wrote about adaptive custom presentation controllers in 2015. It never worked well. It looks like the system now does everything we’d need, so we’ll be able to drop our custom approach in a couple of years. pspdfkit.com/blog/2015/presentation-controllers/