使用警报按钮更改警报消息而不关闭

Change alert message with alert's button without dismissing

我正在尝试使用其中一个警报按钮更改警报消息,它发生了变化,但触摸后警报消失了。 我怎样才能阻止警报视图消失?它应该只用 Ok 按钮消失。

创建提醒:

- (void)showHint
{
    NSLog(@"Show hint method");

    NSString *hintName = [[jsonArray objectAtIndex:nearestBeaconPassedNumber] objectForKey:@"hint name"];
    NSString *hintDescription = [[jsonArray objectAtIndex:nearestBeaconPassedNumber] objectForKey:@"description"];

    UIAlertView *alert = [[UIAlertView alloc] initWithTitle:hintName
                                                    message:hintDescription
                                                   delegate:self
                                          cancelButtonTitle:@"OK"
                                          otherButtonTitles:@"Simpler", @"More simpler", nil];

    [alert show];
}  

使用按钮更改消息:

- (void)alertView:(UIAlertView *)alertView clickedButtonAtIndex:(NSInteger)buttonIndex
{

    //Here I change alert's message

    switch (buttonIndex) {
        case 0:
            NSLog(@"Ok");
            [alertView setMessage: @"Ok"];
            break;

        case 1:
            NSLog(@"Simpler");
            [alertView setMessage: @"Simpler message"];
            break;

        case 2:
            NSLog(@"More simpler message");
            [alertView setMessage: @"More simpler message"];
            break;
    }
}

总而言之,确实不可能阻止 UIAlertView 在触摸其任何按钮后被关闭。