mirror of
https://github.com/libretro/RetroArch
synced 2025-04-15 23:42:30 +00:00
ios:
Immediately hide the exit bar if the device is rotated (after rotation its size would be wrong.) Fix status bar not being visible when a new instance is started.
This commit is contained in:
parent
70d0ab91b7
commit
5a7cee4e6e
@ -82,6 +82,12 @@ static bool is_syncing = true;
|
||||
}
|
||||
}
|
||||
|
||||
- (void)willRotateToInterfaceOrientation:(UIInterfaceOrientation)toInterfaceOrientation duration:(NSTimeInterval)duration
|
||||
{
|
||||
_notifyButton.alpha = 0.0f;
|
||||
_notifyLabel.alpha = 0.0f;
|
||||
}
|
||||
|
||||
- (void)iterate
|
||||
{
|
||||
while (_isRunning && !_isPaused)
|
||||
|
@ -78,7 +78,7 @@ extern uint32_t ios_current_touch_count;
|
||||
- (void)setViewer:(UIViewController*)theView
|
||||
{
|
||||
_navigator = nil;
|
||||
[[UIApplication sharedApplication] setStatusBarHidden:theView ? YES : NO withAnimation:UIStatusBarAnimationSlide];
|
||||
[[UIApplication sharedApplication] setStatusBarHidden:theView ? YES : NO withAnimation:UIStatusBarAnimationNone];
|
||||
_window.rootViewController = theView;
|
||||
}
|
||||
|
||||
@ -110,6 +110,8 @@ extern uint32_t ios_current_touch_count;
|
||||
self.settings_button.target = self;
|
||||
self.settings_button.action = @selector(show_settings);
|
||||
|
||||
[[UIApplication sharedApplication] setStatusBarHidden:NO withAnimation:UIStatusBarAnimationNone];
|
||||
|
||||
// Setup window
|
||||
_navigator = [[UINavigationController alloc] init];
|
||||
[_navigator pushViewController: [[RAModuleList alloc] init] animated:YES];
|
||||
|
Loading…
x
Reference in New Issue
Block a user