Deprecated UIDevice Methods

A method identified as deprecated has been superseded and may become unsupported in the future.

Deprecated in iOS 5.0

uniqueIdentifier

An alphanumeric string unique to each device based on various hardware details. (read-only) (Deprecated in iOS 5.0. Use the identifierForVendor property of this class or the advertisingIdentifier property of the ASIdentifierManager class instead, as appropriate, or use the UUID method of the NSUUID class to create a UUID and write it to the user defaults database.)

@property(nonatomic, readonly, retain) NSString *uniqueIdentifier
Availability
  • Available in iOS 2.0 and later.
  • Deprecated in iOS 5.0.
Declared In
UIDevice.h

Did this document help you? Yes It's good, but... Not helpful...