Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iOS: forcing rotation issues on some specific iPhone models #14060

Open
1 task done
Informate opened this issue Jun 10, 2024 · 1 comment
Open
1 task done

iOS: forcing rotation issues on some specific iPhone models #14060

Informate opened this issue Jun 10, 2024 · 1 comment
Labels
bug needs triage This issue hasn't been reviewed by maintainers

Comments

@Informate
Copy link

Informate commented Jun 10, 2024

I have searched and made sure there are no existing issues for the issue I am filing

  • I have searched the existing issues

Description

On some iPhione devices forcing rotation may not work correctly in non-modal windows on iOS (Especially on iPhone 8). (The Titanium SDK Guide already warns you that this could lead to unexpected behaviors).
Also on Android some flickering issues is present as the window is at first drown on screen with the wrong rotation and then correctly redrawn.

The following is a list of iOS devices supposed to be affected by the issue (compiling the code with Xcode 15.4):

 Ti.Platform.model                     Device
 iPhone14,6                        iPhone SE 3rd gen 2022
 iPhone10,5                        iPhone 8 Plus
 iPhone10,4                        iPhone 8 Plus
 iPhone10,2                        iPhone 8
 iPhone10,1                        iPhone 8
 iPhone9,*                         iPhone 7 Any?

FIXING WORKAROUND for iOS: Pass-trough a modal dialog window, by opening and closing it programmatically, while you are opening the forcing rotation window.

Expected Behavior

The window rotates correctly.
Possibly without a prior flickering on the uncorrect layout rotation.

Actual behavior

The window do not rotate correctly on some iPhone devices.
The window appear at first on the wrong layout rotation and then is redrawn correctly on Android.

Reproducible sample

Steps to reproduce

Switch the rotation between portrait and landscape, forcing it in different consecutive windows while keeping the real device under a different orientation (Horizontal or vertical).

Platform

Android, iOS

SDK version you are using

12.4.0.GA

Alloy version you are using

No response

@Informate Informate added bug needs triage This issue hasn't been reviewed by maintainers labels Jun 10, 2024
@Informate Informate changed the title iOS forcing rotation issues on obsolescent devices iOS: forcing rotation issues on some specific iPhone models Sep 1, 2024
@Informate
Copy link
Author

Informate commented Sep 1, 2024

Would someone be so kind as to help me complete the list of devices affected by the rotation problem? Especially because also new device are unexpactedly affected!
In particular I suspect that iPhone SE 2nd gen 2020 could be affected (Ti.Platform.model: iPhone12.8) but I cannot find a device to test the problem!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug needs triage This issue hasn't been reviewed by maintainers
Projects
None yet
Development

No branches or pull requests

1 participant