I have submitted for review update for my xamarin.ios app. Review team declined my app due to " Your app was not optimized to support the iPhone X and later device screen size or resolution. The iOS status bar overlapped the app’s UI elements." (screen below)
But I can't reproduce this error on simulator. It seems ok on virtual device (screen below).

This error appeared after updating Visual Studio 2019 and I have no idea how to debug and fix this error.

You have to enable safe area inset for supporting notch devices like iPhone X, XR, XS and 11. try this code :