You can get the notch's corner radius and size.
- Notch Size
UIScreen.main.notchSize
- Notch Top Corner Radius
UIScreen.main.notchTopCornerRadius
- Notch Bottom Corner Radius
UIScreen.main.notchBottomCornerRadius
- Display Corner Radius
UIScreen.main.displayCornerRadius