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

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

    @alexrezit store里不能设置的吧?
    PrideChung
        7
    PrideChung  
       Jul 18, 2013
    似乎是不可能通过设备的功能来限制了,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
        8
    pohuty  
       Jul 24, 2013
    这么旧的设备早就不应该支持了吧...
    设置很简单, 把project 设置成 armv7 only 就可以了. iPhone 3gs之前的都是 armv6 架构的

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