X-Git-Url: https://git.saurik.com/uikittools.git/blobdiff_plain/9dcf05302c804d9a6209916734f590acecdfc18c..db9133b87555cf295f22b9c6ada353b2413395d2:/uiduid.mm?ds=inline diff --git a/uiduid.mm b/uiduid.mm index f9580f0..dcfbfc3 100644 --- a/uiduid.mm +++ b/uiduid.mm @@ -1,11 +1,11 @@ #import #import -#include +#include int main(int argc, char *argv[]) { NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; - printf("%s\n", [[UIDevice uniqueIdentifier] UTF8String]; + printf("%s\n", [[[UIDevice currentDevice] uniqueIdentifier] UTF8String]); [pool release]; return 0;