gree / unity-webview

zlib License
2.28k stars 690 forks source link

Issues with webview pages for iOS and later models #641

Open oink8407s opened 3 years ago

oink8407s commented 3 years ago

There was no other problem with Android, but there is a resolution issue with iPhone x or higher models. I SetMargins() to designate the area of the safe area, but the empty screen on the top and bottom is still black. Can you help me with this? Unity version is 2019.3.5f1.

KojiNakamaru commented 3 years ago

Could you please try the sample app? At least on the simulator, It seems to work without any issue: image

oink8407s commented 3 years ago

Resolved. Thank you for your reply. I didn't put the camera on the scene without knowing; it's a little weird. When I didn't import unity-webview plugin, I used safe area on iPhone X to make the black screen on the top and bottom. But there was no blinker. There must be two correlations.