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

[Feature] Customize allowed orientations on iPhone/iPad #44

Open
aleclarson opened this issue Dec 7, 2022 · 1 comment
Open

[Feature] Customize allowed orientations on iPhone/iPad #44

aleclarson opened this issue Dec 7, 2022 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@aleclarson
Copy link
Contributor

Current defaults are here:

socket/src/cli/templates.hh

Lines 869 to 870 in c6ac97c

INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";

@jwerle jwerle added the enhancement New feature or request label Dec 7, 2022
@aleclarson
Copy link
Contributor Author

For now, I'm doing this in my build script. I had to build (and now maintain) a .plist editor in TypeScript to do so, however.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants