Created
October 7, 2013 03:47
-
-
Save peerasak-u/6862277 to your computer and use it in GitHub Desktop.
UUID Fixed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #import "UIDevice+Identifier.h" | |
| - (NSString *) identifierForVendor1 | |
| { | |
| if ([[UIDevice currentDevice] respondsToSelector:@selector(identifierForVendor)]) { | |
| return [[[UIDevice currentDevice] identifierForVendor] UUIDString]; | |
| } | |
| return @""; | |
| } | |
| NSString *like_UDID=[NSString stringWithFormat:@"%@", | |
| [[UIDevice currentDevice] identifierForVendor1]]; | |
| NSLog(@"%@",like_UDID); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment