开发者

iPhone - Prevent application download if no MapKit nor CoreLocation capability

开发者 https://www.devze.com 2023-04-01 23:50 出处:网络
I have an application that uses MapKit/Internet connection OR CoreLocation to make its job. I don\'t want users to be able to download (buy) the app if they do not have those both functions. Having on

I have an application that uses MapKit/Internet connection OR CoreLocation to make its job. I don't want users to be able to download (buy) the app if they do not have those both functions. Having one or the other would be ok.

What may I define in my project to prevent download from those use开发者_开发百科rs (if they exist) who don't have any of those functions on their devices ?


Be careful using map kit, some features are new in 4.x like overlays, but annotations were avail in 3.x. You have to check in the usual ways if it's available before calling them.


you can specify a minimum OS if you are using functions that are not compatable with older OS's but any reasonably upto date device has those functions.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号