project_files/HedgewarsMobile/Classes/SettingsContainerViewController.m
changeset 6832 fae8fd118da9
parent 6700 e04da46ee43c
child 10108 c68cf030eded
equal deleted inserted replaced
6831:f848120b3fcc 6832:fae8fd118da9
    12  * GNU General Public License for more details.
    12  * GNU General Public License for more details.
    13  *
    13  *
    14  * You should have received a copy of the GNU General Public License
    14  * You should have received a copy of the GNU General Public License
    15  * along with this program; if not, write to the Free Software
    15  * along with this program; if not, write to the Free Software
    16  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
    16  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
    17  *
       
    18  * File created on 27/03/2010.
       
    19  */
    17  */
    20 
    18 
    21 
    19 
    22 #import "SettingsContainerViewController.h"
    20 #import "SettingsContainerViewController.h"
    23 #import "SettingsBaseViewController.h"
    21 #import "SettingsBaseViewController.h"
    28 @synthesize baseController, splitViewRootController;
    26 @synthesize baseController, splitViewRootController;
    29 
    27 
    30 -(BOOL) shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation {
    28 -(BOOL) shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation {
    31     return rotationManager(interfaceOrientation);
    29     return rotationManager(interfaceOrientation);
    32 }
    30 }
    33 
       
    34 
    31 
    35 -(void) viewDidLoad {
    32 -(void) viewDidLoad {
    36     CGRect screenRect = [[UIScreen mainScreen] safeBounds];
    33     CGRect screenRect = [[UIScreen mainScreen] safeBounds];
    37     self.view.frame = screenRect;
    34     self.view.frame = screenRect;
    38 
    35