Do you want your application can identify a device permanently even if users delete and reinstall the app? Follow this article and you will get there. This post help you detect a iphone permanently, ios detect device
IOS Dev code graft
This is a small site chronicles the experience and tricks in the process of working with ios app, so happy to share and I hope this experience will help someone.