Hi Unity Community!
I already found codes and examples about Screen.safeArea, then I realized Unity manages the notch avoidance with a built-in solution for Android:
In the Player Settings - Resolution and Presentation, there’s a checkbox called “Render outside safe area”.
If that is disabled, then it won’t render anything on the notch areas, and it works perfectly.
Althought I can’t find any similar setting for iOS. First I thought maybe it’s in the iOS guidelines to not avoid notches, then I checked this, so it seems it is advised to avoid notch area:
Isn’t Unity support notch avoidance for IOS yet? Or is there a setting like that one for Android, and I’m just missing that?