Using UDID to create unique user identity

后端 未结 3 1680
南旧
南旧 2021-02-13 03:49

I am working on an iPhone App which communicates with a Server to store and exchange data. Since I would like to make it as simple as possible, I want to avoid registration (or

3条回答
  •  自闭症患者
    2021-02-13 04:14

    I've used the UDID for checking if the device already has a running subscription. Getting the UDID is easy:

    NSString *udid = [[UIDevice currentDevice] uniqueIdentifier];
    

    If you read up on the App store rules, there is a section about letting the user create an account to move the subscriptions to an other device. In this section Apple makes clear that the account creation must be an username and password that the user must enter. The username can't be an e-mail address since it is personal information.

    If you app leans heavy on the data, an optional user account creation would be advisable.

    The AppStore Review guidelines can by found : http://developer.apple.com/appstore/resources/approval/guidelines.html

提交回复
热议问题