-
-
Notifications
You must be signed in to change notification settings - Fork 21.4k
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
Add iOS export option for device family #49137
Add iOS export option for device family #49137
Conversation
Speaking of which, do we currently have an OS-independent way to know whether the current device is a smartphone or tablet (from the user standpoint)? I remember seeing this being requested in the past so that people can expose slightly different UIs depending on the device. |
|
I was wondering about exposing this in an OS-independent way (e.g. in the Either way, it might be better to open a proposal about this. |
I'd say that the right way to adapt UI to different devices should be based on physical size (screen pixel size and DPI). At least, IIRC, that's the approach in Android (you design for screens, not for devices, so to speak) and I think there's a good reason for that. That said, I think that having a way to check if the device reports itself as tablet or phone where that's supported can also be helpful so the application can make some extra assumptions. |
Thanks! |
Cherry-picked for 3.4. |
If you want your iOS game to be marked explicitly as targeting iOS, iPad or both (without having to tweak the generated Xcode project), this is your PR!
As an extra benefit, if you are only interested in iPhone or iPad alone, Apple app submission won't require you to provide icons for the other family.