Reputation: 1205
Hello guys I have a quick question Im building my app with Nativescript, but When I upload my app to Apple for the review i always have to provide screenshot of this app running on an iPad. So i guess somewhere is some property file you can specify for what default device for App is.
How can I set this ?? In info.plist or some other file ??
Upvotes: 2
Views: 632
Reputation: 2472
You can choose between three options when creating an iOS app, either iPhone, iPad or Universal. An iPhone app does not mean that it cannot run on iPad though, it just means that isn't optimized for it.
The property that needs to be changed is called UIDeviceFamily
, but is added to Info.plist
by Xcode, according to this question and the documentation this property is set automatically and should thus not be added manually, so I am not sure how to do this with NativeScript. There is also an unanswered thread on the NativeScript Discourse that deals with the same problem and mentions that setting it in the App_Resources/ios/Info.plist
does not work.
A word of caution though, once you release an Universal app, you cannot go back to an iPhone only app, as discussed here.
Upvotes: 3