question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

iOS Splitscreen support?

See original GitHub issue

Issue details

When using split screen mode on iOS the app does not get called with the new dimensions of the screen.

Reproduction steps/code

Create a new libgdx app. Add LaunchScreen.storyboard and update the Info.plist.xml with the following

<key>UILaunchStoryboardName</key>
<string>LaunchScreen</string>

<!-- 
<key>UIRequiresFullScreen</key>
<true/>
 -->

Version of LibGDX and/or relevant dependencies

  • Libgdx 1.9.11
  • Robovm 2.3.7

Logging

I’ve added logging to the public void resize(int width, int height) callback

## App start
Resize 2388 1620
Planned content area: 0, 0, 2388, 1580
## Enter splitscreen with 50:50 split
Resize 2388 1620
Planned content area: 0, 0, 2388, 1580

I would expect that libgdx reports the smaller screen size after the screen has been split. Any ideas about this issue or is this mode not even supported?

Please select the affected platforms

  • [X ] iOS (robovm)

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
davidgiga1993commented, Oct 15, 2020

Looks good so far, I’ve tested it on ios 14. I still want to test it on ios 9 to make sure it’s properly backwards compatible

1reaction
davidgiga1993commented, Oct 14, 2020

Sure, I’ll test it tomorrow. The code itself looks good

Read more comments on GitHub >

github_iconTop Results From Across the Web

Open two items in Split View on iPad - Apple Support
Open a second app in Split View · While using an app, tap the Multitasking Controls button (the three dots at the top...
Read more >
How to do split screen on your iPad and multitask with Split View
To do split screen on your iPad, open one app and drag another app from the Dock to the side of your screen....
Read more >
How to Use Split Screen on iPad - MacRumors
1. Open an app on your iPad. 2. Tap the Multitasking button (three dots) centered at the top of the screen to reveal...
Read more >
How to use Split View for split-screen on iPad - ZDNet
How to use Split View for split-screen on iPad · 1. Tap on the three dots at the top of an app ·...
Read more >
How To Split Screen on iPhone & Use Multitasking (2022)
The iPhone Split Screen Mode is NOT enabled natively in iPhones. Unfortunately, you cannot (natively) split your iPhone's screen to use multiple ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found