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 Prag Prog topics Top

abtin
page 20: … protoc command… I had to additionally run the following go get commands in order to be able to compile protobuf code using go...
New
jon
Some minor things in the paper edition that says “3 2020” on the title page verso, not mentioned in the book’s errata online: p. 186 But...
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
Chrichton
Dear Sophie. I tried to do the “Authorization” exercise and have two questions: When trying to plug in an email-service, I found the ...
New
swlaschin
The book has the same “Problem space/Solution space” diagram on page 18 as is on page 17. The correct Problem/Solution space diagrams ar...
New
adamwoolhether
When trying to generate the protobuf .go file, I receive this error: Unknown flag: --go_opt libprotoc 3.12.3 MacOS 11.3.1 Googling ...
New
jskubick
I’m under the impression that when the reader gets to page 136 (“View Data with the Database Inspector”), the code SHOULD be able to buil...
New
brunogirin
When running tox for the first time, I got the following error: ERROR: InterpreterNotFound: python3.10 I realised that I was running ...
New
rainforest
Hi, I’ve got a question about the implementation of PubSub when using a Phoenix.Socket.Transport behaviour rather than channels. Before ...
New
davetron5000
Hello faithful readers! If you have tried to follow along in the book, you are asked to start up the dev environment via dx/build and ar...
New

Other popular topics Top

AstonJ
What chair do you have while working… and why? Is there a ‘best’ type of chair or working position for developers?
New
DevotionGeo
I know that these benchmarks might not be the exact picture of real-world scenario, but still I expect a Rust web framework performing a ...
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
dimitarvp
Small essay with thoughts on macOS vs. Linux: I know @Exadra37 is just waiting around the corner to scream at me “I TOLD YOU SO!!!” but I...
New
AstonJ
Seems like a lot of people caught it - just wondered whether any of you did? As far as I know I didn’t, but it wouldn’t surprise me if I...
New
mafinar
This is going to be a long an frequently posted thread. While talking to a friend of mine who has taken data structure and algorithm cou...
New
New
AstonJ
Was just curious to see if any were around, found this one: I got 51/100: Not sure if it was meant to buy I am sure at times the b...
New
AstonJ
This is cool! DEEPSEEK-V3 ON M4 MAC: BLAZING FAST INFERENCE ON APPLE SILICON We just witnessed something incredible: the largest open-s...
New
AstonJ
This is a very quick guide, you just need to: Download LM Studio: https://lmstudio.ai/ Click on search Type DeepSeek, then select the o...
New

Latest in PragProg

View all threads ❯