i am doing iOS app having a concept of sending verification code to the mobile no from the same mobile so that it will get verified and give sms back to me. But i need some unique id for that process.Same this kind of process is using by the whats app and other chatting apps.
1)my problem is i am able to send the message to the same mobile no and receiving message from it but i need some unique identification number to the particular mobile. so that if we place sim card in the other mobile the unique identification in may not collide .
As apple has stopped accessing device UDID's programmatically. You can use vendor id as unique identifier. Vendor id is different for same app on different device.