How do I determine the date(s) an app I developed was downloaded from the App Store?
+5
A:
I don't know if it violates the SDK agreement, but you can check your iTunesMetadata.plist
, which contains a purchaseDate
key as an NSDate
.
KennyTM
2010-01-12 06:22:32
How to find out iTunesMetadata.plist?
sandy
2010-01-12 08:04:07
`[NSHomeDirectory() stringByAppendingPathComponent:@"iTunesMetadata.plist"]`
KennyTM
2010-01-12 08:33:22
shall i need to add that file ? i am not getting any thing.id data = [NSHomeDirectory() stringByAppendingPathComponent:@"iTunesMetadata.plist"]; NSLog(@"data ::: %@",[[NSFileManager defaultManager] contentsOfDirectoryAtPath:data error:nil]); NSLog(@"att :: %@",[[NSFileManager defaultManager] attributesOfItemAtPath:data error:nil]);This code give me null.Can u give some detail about this .thanks
sandy
2010-01-12 09:04:22
This file won't exist until the customer download it from AppStore.
KennyTM
2010-01-12 09:45:15