Hi ionicers, I’d like to make my app available on iphone/ipod only (not on ipads). What’s the best way to do that? xcode? config.xml?
Thanks for helping out, I’m ready to submit my app to the store. It keeps asking for ipad screenshots in itunes connecti when I only want it to be available on iphone/ipod, but that may be unrelated.
Navigate to project/platform/ios/ and open the xcode project. You should be able to deployment info.
There you can switch it to either universal, iphone or ipad
But it didn’t work. I think it only works for Phonegap Build actually. Would be nice if it worked for command line builds too but its more of a cordova rather than an ionic issue.
Would you be able to share where you found this setting? I can’t seem to find it.
Edit: I found it ! Silly me. Its at build settings. I had to navigate to my project to see those options.
You can also avoid having to set this setting over and over by using an after_prepare hook. Here is the contents of my hooks/after_prepare/modify_plist.sh: