Steps to reproduce:
- Open attached project (test-cutouts.zip)
- Switch to iOS and make a build
- Deploy the build to iPhone 15 device or simulator (Plus, Pro & ProMax also work)
Expected result: Screen.cutouts should contain a list with all unsafe areas (logged in debug log), rects should be drawn over those areas (notch/dynamic island).
Actual result: No cutouts are found, debug log is empty.
Reproduced with: 2022.3.11f1, 2023.3.0a14
Tested with:
iPhone 15 Pro, iOS 17.0.2 - Reproduced
iPhone 15 Pro Max, iOS 17.0.2 - Reproduced