iOS: show message boxes using the new UIAlertController APIs when supported, rather than the deprecated UIAlertView.

UIAlertController is also supported on tvOS, whereas UIAlertView is not.
This commit is contained in:
Alex Szpakowski
2015-09-25 15:17:20 -03:00
parent 774b077513
commit ab2a350033
5 changed files with 147 additions and 55 deletions

View File

@@ -135,12 +135,6 @@
return (window->flags & (SDL_WINDOW_FULLSCREEN|SDL_WINDOW_BORDERLESS)) != 0;
}
- (UIStatusBarStyle)preferredStatusBarStyle
{
/* We assume most SDL apps don't have a bright white background. */
return UIStatusBarStyleLightContent;
}
/*
---- Keyboard related functionality below this line ----
*/