Notch/Safe Area for iOS & Android

I create a portrait games with 720 x1280,
but when i build the apps and put in devices,
the screen over the notch/safe area for device,
any advice for this?

Maybe someone has written what you need: https://discuss.cocos2d-x.org/search?context=topic&context_id=48347&q=Notch&skip_context=true

I try search it, but not much help for this part

Your question has been answered in previous posts.

Me using for portrait view 720 x 1280,
no matter set fitwidth / fixheight,
ui always over notch

I Think this may help you… for Android

Thanks for your helping, may i know you have any solution for iOS?