开发者

An app used SMS functionality, how to publish the app to disallow ipod touch user download

开发者 https://www.devze.com 2023-01-11 13:59 出处:网络
I used some code like below: [[UIApplication sharedApplication] openURL:[NSURL URLWithString:@\"开发者_运维知识库sms://123\"]];

I used some code like below:

[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"开发者_运维知识库sms://123"]];
  1. what would happen if it runs in ipod touch
  2. how to target iphone user only when publish the app to the store.


In your app's Info.plist file, set the UIRequiredDeviceCapabilities property to contain sms as one of the keys. The App Store will handle whether or not to present your app to which devices that users browse the App Store with, and iTunes will know which devices it can sync your app to and which it can't.


You need to update your applications info.plist file. It lets you restrict the application to certain devices, OS:es etc.

Look at the UIRequiredDeviceCapabilities property which allows you to even specify that the device requires SMS :)

0

精彩评论

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