I have to integrate a system in which I have to enter the device UUID manually to register the device into my database. And at the time of login if the device UUID match with the database value, only then the user can able to access the application.
Now my problem is that when I am fetching the Device UUID using iTunes it comes different and Programeticaly fetched value is different.
I am using the below code.
UIDevice.current.identifierForVendor!.uuidString
please let me know what I am doing wrong.
UPDATE:- Please read the complete problem before down vote :(