ios - How to selectively choose compatible devices with Xcode 7.5 beta -


i developing xcode 7.5 betas , swift 2. have chosen project run on iphones. however, not want run on iphone 4s screen size small. there anyway can have run on iphone 5 - 6s only?

you can limit iphones can run app using information property list (info.plist) file. "the uirequireddevicecapabilities key lets declare hardware or specific capabilities app needs in order run" however, based on handset capabilities not characteristics. won't let limit applicability screen size can similar result finding common capabilities in targeted handsets aren't shared hardware want rule out.

use device compatibility matrix linked below. although i'm not sure how can rule out 4s, without ruling out 4, there couple options ruling out iphones prior 5s.

good luck!

https://developer.apple.com/library/prerelease/ios/documentation/deviceinformation/reference/iosdevicecompatibility/devicecompatibilitymatrix/devicecompatibilitymatrix.html#//apple_ref/doc/uid/tp40013599-ch17-sw1


Comments

Popular posts from this blog

java - UnknownEntityTypeException: Unable to locate persister (Hibernate 5.0) -

python - ValueError: empty vocabulary; perhaps the documents only contain stop words -

ubuntu - collect2: fatal error: ld terminated with signal 9 [Killed] -