Adding a dismissible view controller from bottom of the screen with a notch in 3 simple steps.

  1. Construct SheetViewController which contains ContainerViewController and NotchViewController and set up constraints

2. Add a blur effect view UIVisualEffectView

3. Animate with help of heightConstraint ( positive value ) and notchBottomConstraint ( negative value )

Complete source code is present in Github

Happy Coding..

Senior iOS Engineer @ Intuit | Exploring, Experimenting new ways of building mobile apps.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store