[iOS 9.3 Safari] Black stripes, bad screen size detection.

Bugs will be moved here once resolved.

Post » Thu Apr 07, 2016 9:34 am

Problem Description
On Safari browser on any apple mobile device with iOS 9.3, the Construct projects are displayed partially, with black stripe on the bottom, and top of screen is covered by browser address bar. This make them nonplayable.
https://dl.dropboxusercontent.com/u/138 ... index.html
https://dl.dropboxusercontent.com/u/138 ... index.html

Attach a Capx
https://dl.dropboxusercontent.com/u/138 ... eport.capx

Description of Capx
This is just one layout with background fitting layout size. And some mockup buttons. No Event sheet attached.

Steps to Reproduce Bug
  • Make any project with at least one layout
  • Add some background image, stretch it to full layout size
  • Add anchor behaviour, make 4 anchors in each direction
  • Set full screen scale outer property
  • Export. test on iPhone 5, iOS 9.3, Safari
  • Observe ugly black stripe
  • Try to set full screen letterbox property
  • Export. test on iPhone 5, iOS 9.3, Safari
  • Observe ugly black stripe

Observed Result
https://dl.dropboxusercontent.com/u/138 ... terbox.jpg

https://dl.dropboxusercontent.com/u/138 ... eOuter.jpg

Big black stripe in bottom of screen, and big part of project covered by browser address bar.

Expected Result
We all know that apple restricts full screen, and blocked full screen workaround in newest iOS version, but what we all need is
games to be playable.
Scale outer mode should fit the top of project view to bottom of browser address bar, so none of project part would be invisible, the bottom should fit to browser bottom ui with no black stripe between.

Letterbox mode should also render properly, black stripes should appear only where are needed to keep proportions of project.

Affected Browsers
  • Safari iOS 9.3: (YES)

Operating System and Service Pack
iPhone 5, iOS 9.3

Construct 2 Version ID
Construct 2 r226
Posts: 10
Reputation: 406

Post » Tue Apr 12, 2016 12:19 pm

Another day, another iOS viewport bug. Thanks for the report, found a workaround for the next build.
Scirra Founder
Posts: 25,285
Reputation: 200,954

Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 6 guests