summaryrefslogtreecommitdiff
path: root/uiduid.mm
blob: dcfbfc3fdf4a45e8f65fe39937b5a3557fa142e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#import <Foundation/Foundation.h>
#import <UIKit/UIDevice.h>
#include <stdio.h>

int main(int argc, char *argv[]) {
    NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];

    printf("%s\n", [[[UIDevice currentDevice] uniqueIdentifier] UTF8String]);

    [pool release];
    return 0;
}