iOS 开发实用技术导航
NSHipster 中文版
› http://nshipster.cn/
cocos2d 开源 2D 游戏引擎
› http://www.cocos2d-iphone.org/
CocoaPods
› http://cocoapods.org/
Google Analytics for Mobile 统计解决方案
› http://code.google.com/mobile/analytics/
WWDC
› https://developer.apple.com/wwdc/
Design Guides and Resources
› https://developer.apple.com/design/
Transcripts of WWDC sessions
› http://asciiwwdc.com
Cocoa with Love
› http://cocoawithlove.com/
Cocoa Dev Central
› http://cocoadevcentral.com/
NSHipster
› http://nshipster.com/
Style Guides
› Google Objective-C Style Guide
› NYTimes Objective-C Style Guide
Useful Tools and Services
› Charles Web Debugging Proxy
› Smore
georgetso
V2EX  ›  iDev

如何设置项目配置, 只允许 iPad 及以后的设备下载应用?

  •  
  •   georgetso · Jul 18, 2013 · 4682 views
    This topic created in 4872 days ago, the information mentioned may be changed or developed.
    17 replies  •  1970-01-01 08:00:00 +08:00
    georgetso
    georgetso
    OP
    Jul 18, 2013
    1
    也就是说, 不允许 iPhone , iPhone 3G, iPhone 3Gs 从 appstore 下载
    georgetso
    georgetso
    OP
    Jul 18, 2013
    2
    opengles-2 包含了 3gs
    front-facing-camera 又排除了 iPad 一代
    纠结
    PrideChung
    PrideChung
    Jul 18, 2013
    3
    把你的App改成只支持 iPad , iPhone 就无法下载了。

    PrideChung
    PrideChung
    Jul 18, 2013
    4
    额,我好像理解错了你的意思了,你是指不允许 iPhone 4以下的 iPhone 下载?
    alexrezit
    alexrezit
    Jul 18, 2013
    5
    我觉得你说的是 store 里的设置吧? UIRequiredDeviceCapabilities 是只限制功能的.
    georgetso
    georgetso
    OP
    Jul 18, 2013
    6
    @PrideChung 您的确理解错了, 呵呵, 是不允许 iPhone , iPhone 3G, iPhone 3Gs 下载

    @alexrezit store里不能设置的吧?
    PrideChung
    PrideChung
    Jul 18, 2013
    7
    似乎是不可能通过设备的功能来限制了,3GS不支持的功能, iPad 1也不支持

    http://developer.apple.com/library/mac/#documentation/LanguagesUtilities/Conceptual/iTunesConnect_Guide/B_DeviceCompatibilityMatrix/DeviceCompatibilityMatrix.html#//apple_ref/doc/uid/TP40011225-CH17-SW1


    @alexrezit 现在还能自己选择支持哪些设备么?
    pohuty
    pohuty
    Jul 24, 2013
    8
    这么旧的设备早就不应该支持了吧...
    设置很简单, 把project 设置成 armv7 only 就可以了. iPhone 3gs之前的都是 armv6 架构的

    http://developer.apple.com/library/ios/#qa/qa1707/_index.html
    georgetso
    georgetso
    OP
    Jul 24, 2013❤️1
    9
    @pohuty 3gs是armv7, 我不想支持3gs
    comcuter
    comcuter
    Jul 24, 2013
    10
    看了这个 http://blog.manbolo.com/2012/05/02/how-to-indicate-what-devices-are-supported-by-your-ios-app , 好像如果不支持 iPad 了,就可以做得到
    sharpnk
    sharpnk
    Jul 24, 2013
    11
    UIRequiredDeviceCapabilities.front-facing-camera 这个应该是相对较好的选项了. 缺点是会误伤 iPad 1.
    dorentus
    dorentus
    Jul 25, 2013
    12
    不想支持 3GS 的话,也就更没必要支持 iPad 1 了吧;
    3GS 好像还可以装 iOS 6 呢, iPad 就被锁死在 5.1 上了……
    loveminds
    loveminds
    Jul 25, 2013 via Android
    13
    @georgetso 真要判断的话,很明显,屏幕分辨率
    zhigang1992
    zhigang1992
    Jul 25, 2013
    14
    @loveminds 不是runtime,是限制安装。
    georgetso
    georgetso
    OP
    Jul 25, 2013
    15
    @sharpnk 我前面已经提到过这点了
    @dorentus 嗯, 这话有些道理, iPad 只有256ram, 确实小了些. touch4的ram多大?
    @loveminds @zhigang1992 说的对, 不是runtime
    georgetso
    georgetso
    OP
    Jul 30, 2013
    16
    最终还是找不到方案, 选择的 front-facing-camera
    alexrezit
    alexrezit
    Jul 30, 2013
    17
    @georgetso
    touch 4 看网页都经常闪退.
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   940 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 39ms · UTC 21:13 · PVG 05:13 · LAX 13:13 · JFK 16:13
    ♥ Do have faith in what you're doing.