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
stephenliubp
V2EX  ›  iDev

iOS 唯一标识符

  •  
  •   stephenliubp ·
    FantasticLBP · Jun 14, 2018 · 7364 views
    This topic created in 2908 days ago, the information mentioned may be changed or developed.

    需要用到获取用户使用设备的唯一标识符,之前想到的是 MAC 地址 和 UUID,后来 MAC 地址废除掉,然后 iOS6 为了防止用户相关的信息被泄漏,所以不允许开发者使用 UUID 了,那么各位有没有什么思路或者解决方案获取用户的唯一标识符呢?

    这样用不知道有没有什么问题

    [[[UIDevice currentDevice] identifierForVendor] UUIDString]
    
    5 replies    2018-07-12 08:56:53 +08:00
    okletswin
        1
    okletswin  
       Jun 14, 2018
    现在是在用 idfa 了吧
    https://www.v2ex.com/t/372857
    C90
        2
    C90  
       Jun 15, 2018
    xi_lin
        3
    xi_lin  
       Jun 15, 2018
    openudid 你要记得存 keychain 里
    laoyur
        4
    laoyur  
       Jul 11, 2018
    有些游戏,不知道它们怎么搞的,已经确定它们不使用 keychain,但仍旧能记住账号,重启 /卸载重装 /重置 idfa 统统都没用,它就是能阴魂不散一般记住你的账号
    stephenliubp
        5
    stephenliubp  
    OP
       Jul 12, 2018
    @laoyur 可怕的操作
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1077 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 96821589 · 108ms · UTC 23:25 · PVG 07:25 · LAX 16:25 · JFK 19:25
    ♥ Do have faith in what you're doing.