Hello, I have created a game but when I test it on my iPhone 11 their are black lines on the sides. I am using Scale Outer and viewport is set to auto. Any help would be greatly appreciated.
Try remote preview in Chrome on PC, you can resize the Chrome window to match the iphone screen, or simulate various mobile devices. If this doesn't happen on PC, then maybe the issue is with the browser on your phone.
Thank you so much for the reply. I tried what you suggested and it worked properly. But after that I built the project in Xcode and installed it on my phone as an app. It still has the same problem as before even when not being tested in the browser.
Since you have Xcode, you can test the app in a simulator - see if the black bars appear there.
I checked in the emulator and it worked fine. Then I rebuilt it to my phone and it worked fine.
The only difference is that viewport is now set to cover that must have fixed it. Thanks for all your help!
Develop games in your browser. Powerful, performant & highly capable.
Glad you figured it out. I'm guessing with Viewport Fit set to "Auto", it doesn't cover the edges because the screen on iPhone 11 has rounded corners.