Is there anyway how can I detect device its phone number with Swift? It's because I want to get unique id of iOS device number for my app. In android, we can get device's secure id and its id never change whenever app is uninstalled and install again. For Swift, how can I get unique id or phone number then?
android unique id as well as secure id example
String deviceId = Secure.getString(this.getContentResolver(), Secure.ANDROID_ID);
var uuid = NSUUID().UUIDString
Above line uuide will be change after re-installing app?