English 中文(简体)
• 如何使我只能够在3G和3G层工作
原标题:How to make my app work only on iPhone 3G and higher
  • 时间:2010-12-09 19:26:07
  •  标签:
  • ios

是否有办法限制装置,即Peit 3G和更高装置,而不是支持Pi 2G和下层装置。 我找不到一个不同的因素。 但是,我很相信,Pi 2G和下级能够运行3。

问题回答

有一个。 这可能是艰难的。 http://developer.apple.com/library/ios/#documentation/General/Reference/InfoPlistKeyReference/Articles/iPhoneOSKeys.html%23/apple_ref/doc/uid/TP40009252-SW3” rel=“nofollow noreferer”RequiredDeviceCapabilities <具体指明了3G. 你可以尝试利用另一个关键,即3G的硬件特征,即Pimn t,但你有可能被 Apple果拒绝建造你。

由于Sam Ritchie也认为,使用时间制检查来检测硬件也是一个坏的想法,因为(1) 很可能引发拒绝,如果是,带旧装置的人能够购买这些器具,只能发现它赢得了拖车,他们会抱怨,这将导致 Apple果从销售中提取你的 app子。

在不使用 Apple果分解物的情况下这样做的唯一途径是将 iOS4或4。 4.0不上一代。 我认识到你想要的是目标3.1,但你要么允许所有装置,要么允许目标4.0。

One nice way to do this would be to check out the UIDevice-Extension project on github. It gives you the ability to detect what hardware you re running on.

我怀疑,解决这一问题的方法是审查你的意见,并列举你为什么不希望较早的电话用户能够上网。 一旦你缩小了该特征,你便可以很容易地检查该装置是否存在该具体特征。 为此,包括<代码> http://developer.apple.com/library/ios/#documentation/iphone/conceptual/iphoneosprogrammingguide/Build TimeConfiguration/BuildtimeConfiguration.html” rel=“nofollow” 你们发现,这是“降低所需装置能力”标题之下。 亲爱!

在你看来,增加一些最低的定位功能(即 Apple果可以拒绝这种功能),然后增加“gps”对你评估UIRequiredDeviceCap的关键。

但是,认为2G用户中实际仍在购买的器具比例目前似乎是微镜,不值得一提。 仅说明你描述的这些装置缺乏支持。





相关问题
List Contents of Directory in a UITableView

I am trying to list the contents of Ringtones directory in a TableView, however, I am only getting the last file in the directory in ALL cells, instead of file per cell. This is my code: - (...

iPhone NSUserDefaults persistance difficulty

In my app i have a bunch of data i store in the NSUserdefaults. This information consists of an NSObject (Object1) with NSStrings and NSNumbers and also 2 instances of yet another object (Object2). ...

Writing a masked image to disk as a PNG file

Basically I m downloading images off of a webserver and then caching them to the disk, but before I do so I want to mask them. I m using the masking code everyone seems to point at which can be found ...

Resize UIImage with aspect ratio?

I m using this code to resize an image on the iPhone: CGRect screenRect = CGRectMake(0, 0, 320.0, 480.0); UIGraphicsBeginImageContext(screenRect.size); [value drawInRect:screenRect blendMode:...

Allowing interaction with a UIView under another UIView

Is there a simple way of allowing interaction with a button in a UIView that lies under another UIView - where there are no actual objects from the top UIView on top of the button? For instance, ...

热门标签