IdentifierForVendor

后端 未结 3 1863
借酒劲吻你
借酒劲吻你 2020-12-16 05:23
NSString *identifier = [[[UIDevice currentDevice] identifierForVendor] UUIDString];

The code above gives two different identifiers on the same phon

3条回答
  •  一生所求
    2020-12-16 06:06

    Its because you have 2 different bundle id's.

    A vendor is identified by the first two dot separated fields. So com.a.app1 and com.a.app2 have same vendor (com.a) but com.b.app3 has a different vendor (com.b)

提交回复
热议问题