Deprecated UIDevice Methods

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

Available in iOS 2.0 through iOS 6.1

uniqueIdentifier

An alphanumeric string unique to each device based on various hardware details. (read-only) (Available in iOS 2.0 through iOS 6.1. 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 through iOS 6.1.
  • Deprecated in iOS 5.0.
Declared In
UIDevice.h