Can I prevent an iPhone OS 3.x app from running on 2.x OS?

前端 未结 1 1226
一个人的身影
一个人的身影 2021-01-22 05:06

I don\'t want my app to run on an iPhone or iPod with any OS prior to 3.0. I was under the impression that the App store would take care of it for me, but I don\'t think that i

相关标签:
1条回答
  • 2021-01-22 05:35

    You can check for

    float version = [[[UIDevice currentDevice] systemVersion] floatValue];

    and then display a UIAlertView. But the App won't even start, because OS requirement you set in your project settings.

    alt text

    But remember: The User will be still able to download it.

    0 讨论(0)
提交回复
热议问题