简体   繁体   中英

Black bars iPhone X above. How to get rid of?

I'm having trouble with these strange black bars on the edges of iPhone X devices and higher. They will fade in and out weirdly with the camera and mess up my UI layout. Any suggestions for how to fix this? I am using the Unity game engine to create the game. Video with demonstration linked below: youtu.be/FFZe--izo_k

It could be because the animation is messing up the ui. Do you have any code that you think is related to that issue? If so, please edit your post with the code. Until then I can't help you. One other issue that might be that something is messing up the camera. Hope this helps in some way: :D

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM