Native Mobile - Screen sizes

0
Built my first ipa and apk files for native today. On testing through bluestacks and using the make it native app it didn’t show the issue I’m currently presented with.  On iPad it only takes up the center of the screen and does not scale.  I’m assuming I am missing something in the styling or could it be a build issue?   Also, during the build it was recommended that I update the native template to 3.3 but I am unclear how this is accomplished.
asked
1 answers
1

Sounds like your app only built for iPhone and not iPad. So, you’re essentially running an iPhone app on the iPad at the moment.

The latest Mendix native template looks like it should build for both iPhone and iPad by default, so I’m not quite sure how yours got set incorrectly. XCode determines what devices to build for based on a setting in project.pbxproj. Here’s a link to it in the native template

https://github.com/mendix/native-template/blob/master/ios/nativeTemplate.xcodeproj/project.pbxproj

Specifically, do a search for the keyword TARGETED_DEVICE_FAMILY. The value should be set to “1,2” as described in this SO question:

https://stackoverflow.com/questions/39677524/xcode-8-how-to-change-targeted-device-family

Hopefully that setting is just incorrect on your app template and it’s a quick fix. Let us know how you make out.

answered