(iOS) message box - invoke menu_iterate immediately after pressing

'OK' button
This commit is contained in:
Twinaphex 2015-09-12 06:12:04 +02:00
parent 0e20e28244
commit 4374d47047

View File

@ -618,13 +618,23 @@ didSelectRowAtIndexPath:(NSIndexPath *)indexPath
{ {
UIAlertView *message = [[UIAlertView alloc] initWithTitle:@"Help" UIAlertView *message = [[UIAlertView alloc] initWithTitle:@"Help"
message:msg message:msg
delegate:nil delegate:self
cancelButtonTitle:@"OK" cancelButtonTitle:@"OK"
otherButtonTitles:nil]; otherButtonTitles:nil];
[message show]; [message show];
} }
- (void)alertView:(UIAlertView*)alertView clickedButtonAtIndex:(NSInteger)buttonIndex
{
switch (buttonIndex)
{
case 0:
menu_iterate(true, MENU_ACTION_OK);
break;
}
}
@end @end
@interface RAMainMenu : RAMenuBase<RAMenuActioner> @interface RAMainMenu : RAMenuBase<RAMenuActioner>