Hi all,
How can I get the device-id of the iPhone on which my application's got installed immediately after installation? Is PUSH_NOTIFICATION the answer?
Thanx in advance.
Hi all,
How can I get the device-id of the iPhone on which my application's got installed immediately after installation? Is PUSH_NOTIFICATION the answer?
Thanx in advance.
Neither your app nor yourself get informed by the OS when your app is installed. You have no option to detect installation unless the user launches the app.
Here is a sample code http://www.timeister.com/2009/06/objective-c-get-iphone-device-guid/
UIDevice *device = [UIDevice currentDevice];
NSString *uniqueIdentifier = [device uniqueIdentifier];
NSLog(@"Device GUID: %@", uniqueIdentifier);