Skip to content

Instantly share code, notes, and snippets.

@maripo
maripo / UDIDkiller.h
Created February 5, 2012 05:59
Prevent "UIDevice.uniqueIdentifier" from returning real UDID value.
/**
It prevents UIDevice.uniqueIdentifier method from returning real UDID vaue.
It is useful to prevent closed-source libralies to fetch users' UDIDs against
your will.
*/
@interface UIDevice (UDIDkiller)
-(NSString*)uniqueIdentifier;
@end