GilWright

GilWright

Apple Game Frameworks and Technologies: Screen image may be wrong (p 13)

Working through the steps (checking that the Info,plist matches exactly), run the demo game and what appears is grey but does not fill the landscape screen when run in the simulator against an iPhone 11 Pro Max (as recommended earlier in the text). This may be an Xcode related problem. I have noted occasional problems with the menu bar not going away but this time the actual grey box is not filling the screen - it actually looks like a scaled down iPad screen. It works correctly on any of the iPads that I tested.

Xcode 12.0 beta 4 on MacOS 11 (20A5343i)

Marked As Solved

Paradox927

Paradox927

Author and Editor at PragProg

Hey, there! Sorry for the delayed response. I thought I had notifications set up for Devtalk, but I guess not.

Anyway, with Xcode 12, at least the beta version, you’ll need to add a new plist entry, “Launch screen interface file base name”. You can either add this entry and set its value to “Main” or create a custom LaunchScreen.storyboard file and set its value to “LaunchScreen”.

If that doesn’t work, let me know. I may have misunderstood the problem/question.

Also Liked

GilWright

GilWright

Same comment applies to the screen shot on p15 - it is still the aspect ratio of an iPad with black bars to the left and right.

GilWright

GilWright

Adding the debug on scene.size - the 11 Pro Max reports 480x320, iPad Pro 12.9" reports 1024x768, iPhone 11 Pro (not Max, real phone) reports 480x320.

cocojas

cocojas

I’ve also created a bug with Apple that the game template doesn’t set itself up correctly. The multi-target game template does, so I think it’s just a miss on their part, or they can’t decide whether they want to use a launch storyboard or the new info plist dictionary to set it up.

Popular Pragmatic Bookshelf topics Top

conradwt
First, the code resources: Page 237: rumbl_umbrella/apps/rumbl/mix.exs Note: That this file is missing. Page 238: rumbl_umbrella/app...
New
AleksandrKudashkin
On the page xv there is an instruction to run bin/setup from the main folder. I downloaded the source code today (12/03/21) and can’t see...
New
jskubick
I’m running Android Studio “Arctic Fox” 2020.3.1 Patch 2, and I’m embarrassed to admit that I only made it to page 8 before running into ...
New
brunogirin
When installing Cards as an editable package, I get the following error: ERROR: File “setup.py” not found. Directory cannot be installe...
New
New
hazardco
On page 78 the following code appears: <%= link_to ‘Destroy’, product, class: ‘hover:underline’, method: :delete, data: { confirm...
New
a.zampa
@mfazio23 I’m following the indications of the book and arriver ad chapter 10, but the app cannot be compiled due to an error in the Bas...
New
New
ggerico
I got this error when executing the plot files on macOS Ventura 13.0.1 with Python 3.10.8 and matplotlib 3.6.1: programming_ML/code/03_...
New
bjnord
Hello @herbert ! Trying to get the very first “Hello, Bracket Terminal!" example to run (p. 53). I develop on an Amazon EC2 instance runn...
New

Other popular topics Top

AstonJ
Or looking forward to? :nerd_face:
New
Rainer
My first contact with Erlang was about 2 years ago when I used RabbitMQ, which is written in Erlang, for my job. This made me curious and...
New
AstonJ
We have a thread about the keyboards we have, but what about nice keyboards we come across that we want? If you have seen any that look n...
New
AstonJ
There’s a whole world of custom keycaps out there that I didn’t know existed! Check out all of our Keycaps threads here: https://forum....
New
PragmaticBookshelf
Rust is an exciting new programming language combining the power of C with memory safety, fearless concurrency, and productivity boosters...
New
AstonJ
I have seen the keycaps I want - they are due for a group-buy this week but won’t be delivered until October next year!!! :rofl: The Ser...
New
AstonJ
This looks like a stunning keycap set :orange_heart: A LEGENDARY KEYBOARD LIVES ON When you bought an Apple Macintosh computer in the e...
New
PragmaticBookshelf
Learn different ways of writing concurrent code in Elixir and increase your application's performance, without sacrificing scalability or...
New
Maartz
Hi folks, I don’t know if I saw this here but, here’s a new programming language, called Roc Reminds me a bit of Elm and thus Haskell. ...
New
PragmaticBookshelf
Build efficient applications that exploit the unique benefits of a pure functional language, learning from an engineer who uses Haskell t...
New