苹果有相关的接口识别新设备是否与旧设备关联,有的开发者利用这个特性直接把用户旧手机账号登录状态一并迁移到新手机比如高德地图 Uber ,有的开发者不行还认得是新设备需要重新认证。这也是微信卸载重装后并不需要重新旧设备扫码用到的 token
https://developer.apple.com/documentation/devicecheckDeviceCheckReduce fraudulent use of your services by managing device state and asserting app integrity.
The DeviceCheck services consist of both a framework interface that you access from your app and an Apple server interface that you access from your own server.
Using the DCDevice class in your app, you can get a token that you use on your server to set and query two binary digits of data per device, while maintaining user privacy. For example, you might use this data to identify devices that have already taken advantage of a promotional offer that you provide, or to flag a device that you’ve determined to be fraudulent. The server-to-server APIs also let you verify that the token you receive comes from your app on an Apple device.