mirror of
https://github.com/libretro/RetroArch
synced 2025-02-06 09:40:06 +00:00
(iOS) message box - invoke menu_iterate immediately after pressing
'OK' button
This commit is contained in:
parent
0e20e28244
commit
4374d47047
@ -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>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user