Here are a few ways of showing alerts in you iPhone application using UIActionSheet and UIAlertView controls. You can also download the test XCode project where this sample code was generated. Simple Action Sheet // open a dialog with just an OK button UIActionSheet *actionSheet = [[UIActionSheet alloc] initWithTitle:@"Title" delegate:nil ...
Read MoreObjective C Get iPhone Device GUID
Following Xcode reveals you the device id UIDevice *device = [UIDevice currentDevice]; NSString *uniqueIdentifier = [device uniqueIdentifier]; /*[device release];*/ NSLog(@"Device GUID: %@", uniqueIdentifier);
Read More