mirror of
https://github.com/libretro/RetroArch
synced 2025-04-07 13:23:32 +00:00
ios: Keep status bar visible while in the browser. Add a couple of missing license headers.
This commit is contained in:
parent
1212116dfb
commit
4a076f4717
@ -1,10 +1,17 @@
|
|||||||
//
|
/* RetroArch - A frontend for libretro.
|
||||||
// dirlist.m
|
* Copyright (C) 2013 - Jason Fetters
|
||||||
// RetroArch
|
*
|
||||||
//
|
* RetroArch is free software: you can redistribute it and/or modify it under the terms
|
||||||
// Created by Jason Fetters on 2/7/13.
|
* of the GNU General Public License as published by the Free Software Found-
|
||||||
// Copyright (c) 2013 RetroArch. All rights reserved.
|
* ation, either version 3 of the License, or (at your option) any later version.
|
||||||
//
|
*
|
||||||
|
* RetroArch is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
|
||||||
|
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
||||||
|
* PURPOSE. See the GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License along with RetroArch.
|
||||||
|
* If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
|
||||||
#import "browser.h"
|
#import "browser.h"
|
||||||
|
|
||||||
|
@ -24,20 +24,20 @@
|
|||||||
<string>1.0</string>
|
<string>1.0</string>
|
||||||
<key>LSRequiresIPhoneOS</key>
|
<key>LSRequiresIPhoneOS</key>
|
||||||
<true/>
|
<true/>
|
||||||
|
<key>UIApplicationExitsOnSuspend</key>
|
||||||
|
<false/>
|
||||||
<key>UIRequiredDeviceCapabilities</key>
|
<key>UIRequiredDeviceCapabilities</key>
|
||||||
<array>
|
<array>
|
||||||
<string>armv7</string>
|
<string>armv7</string>
|
||||||
</array>
|
</array>
|
||||||
<key>UIStatusBarHidden</key>
|
<key>UIStatusBarHidden</key>
|
||||||
<true/>
|
<false/>
|
||||||
<key>UISupportedInterfaceOrientations</key>
|
<key>UISupportedInterfaceOrientations</key>
|
||||||
<array>
|
<array>
|
||||||
<string>UIInterfaceOrientationPortrait</string>
|
<string>UIInterfaceOrientationPortrait</string>
|
||||||
<string>UIInterfaceOrientationLandscapeLeft</string>
|
<string>UIInterfaceOrientationLandscapeLeft</string>
|
||||||
<string>UIInterfaceOrientationLandscapeRight</string>
|
<string>UIInterfaceOrientationLandscapeRight</string>
|
||||||
</array>
|
</array>
|
||||||
<key>UIApplicationExitsOnSuspend</key>
|
|
||||||
<false/>
|
|
||||||
<key>UISupportedInterfaceOrientations~ipad</key>
|
<key>UISupportedInterfaceOrientations~ipad</key>
|
||||||
<array>
|
<array>
|
||||||
<string>UIInterfaceOrientationPortrait</string>
|
<string>UIInterfaceOrientationPortrait</string>
|
||||||
|
@ -1,3 +1,18 @@
|
|||||||
|
/* RetroArch - A frontend for libretro.
|
||||||
|
* Copyright (C) 2013 - Jason Fetters
|
||||||
|
*
|
||||||
|
* RetroArch is free software: you can redistribute it and/or modify it under the terms
|
||||||
|
* of the GNU General Public License as published by the Free Software Found-
|
||||||
|
* ation, either version 3 of the License, or (at your option) any later version.
|
||||||
|
*
|
||||||
|
* RetroArch is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
|
||||||
|
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
||||||
|
* PURPOSE. See the GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License along with RetroArch.
|
||||||
|
* If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
|
||||||
//
|
//
|
||||||
// Prefix header for all source files of the 'RetroArch' target in the 'RetroArch' project
|
// Prefix header for all source files of the 'RetroArch' target in the 'RetroArch' project
|
||||||
//
|
//
|
||||||
|
@ -78,6 +78,7 @@ extern uint32_t ios_current_touch_count;
|
|||||||
- (void)setViewer:(UIViewController*)theView
|
- (void)setViewer:(UIViewController*)theView
|
||||||
{
|
{
|
||||||
_navigator = nil;
|
_navigator = nil;
|
||||||
|
[[UIApplication sharedApplication] setStatusBarHidden:theView ? YES : NO withAnimation:UIStatusBarAnimationSlide];
|
||||||
_window.rootViewController = theView;
|
_window.rootViewController = theView;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user