I have implemented push notification in my iPhone app and for device registration i used following code in the app.
[[[UIDevice currentDevice] identifierForVendor] UUIDString];
Above code works fine in the most of the devices. However, recently in some iPhone 5s devices with iOS 7.1 it returns null and due to this app crashes.