UIAlertView *alert = [[UIAlertView alloc] initWithTitle:nil
message:msg
delegate:nil
cancelButtonTitle:@"Ok"
otherButtonTitles:nil];
[alert show];