iOS Question limiting app install base

Yanik Freeman

Member
Licensed User
Hi there,

This thread mentions the use of the #Target: iPhone attribute to limit an app install base to iPhones only:


Yet when I include this in my project and publish on the app store I was able to install it on an iPod Touch and an iPad.

B4X:
#iPhoneOrientations: Portrait
#iPadOrientations: Portrait
#Target: iPhone
#MinVersion: 12

This app is only optimized for iPhone screens, am I missing something here?
 

Alexander Stolte

Expert
Licensed User
Longtime User
This app is only optimized for iPhone screens, am I missing something here?
No.
Do you see your app in the App Store on the iPad? I doubt it, all my apps that have the same code as yours are only visible in the App Store on the iPhone. Nevertheless, I can install the app on an iPad via the IDE.
 
Upvote 0

Yanik Freeman

Member
Licensed User
Yes, I can see it in the app store on both devices logged in with different Apple IDs. Perhaps this is a setting somewhere on App Store Connect but I haven't found anything other than the broader iOS selection there.
 
Upvote 0

Alexander Stolte

Expert
Licensed User
Longtime User
Ahh, I think all iphone apps that run on apple silicon have an ipad compatible mode, the app is then displayed with borders on the ipad, as a scaled iphone app.

Have a look:
 
Last edited:
Upvote 0

Yanik Freeman

Member
Licensed User
Thanks, the app does indeed run on the iPad in a phone resolution. I was thinking that perhaps omitting the #iPadOrientations: Portrait would prevent this but haven't tried resubmitting to confirm. Any idea how to prevent installation on iPod Touch devices besides bumping up minimum iOS to 16?
 
Upvote 0
Top