i want to add a Alert view with information after a update , what is new in the new app version!
i use this code :
BOOL isRunMoreThanOnce = [[NSUserDefaults standardUserDefaults] boolForKey:@"isRunMoreThanOnce"];
if(!isRunMoreThanOnce){
// Show the alert view
UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"Achtung" message:@"Version 1.5" delegate:self cancelButtonTitle:@"OK..!" otherButtonTitles:nil, nil];
[alert show];
// Then set the first run flag
[[NSUserDefaults standardUserDefaults] setBool:YES forKey:@"isRunMoreThanOnce"];
[[NSUserDefaults standardUserDefaults] synchronize];
}
but this alert shows only once by the first start, how can i check the bundle version, and show the alert by the first start after update it!
thanks for your help