project_files/HedgewarsMobile/Classes/DetailViewController.m
changeset 3701 8c449776ebe6
parent 3697 d5b30d6373fc
equal deleted inserted replaced
3699:e5e2cbc90891 3701:8c449776ebe6
    13 #import "WeaponSettingsViewController.h"
    13 #import "WeaponSettingsViewController.h"
    14 #import "SchemeSettingsViewController.h"
    14 #import "SchemeSettingsViewController.h"
    15 #import "CommodityFunctions.h"
    15 #import "CommodityFunctions.h"
    16 
    16 
    17 @implementation DetailViewController
    17 @implementation DetailViewController
    18 @synthesize controllerNames,popoverController;
    18 @synthesize controllerNames, popoverController;
    19 
    19 
    20 
    20 
    21 -(BOOL) shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation) interfaceOrientation {
    21 -(BOOL) shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation) interfaceOrientation {
    22     return rotationManager(interfaceOrientation);
    22     return rotationManager(interfaceOrientation);
    23 }
       
    24 
       
    25 -(void) willRotateToInterfaceOrientation:(UIInterfaceOrientation)toInterfaceOrientation duration:(NSTimeInterval)duration{
       
    26     self.view.frame = CGRectMake(0, 0, 1024, 1024);
       
    27 }
    23 }
    28 
    24 
    29 -(void) viewDidLoad {
    25 -(void) viewDidLoad {
    30     self.title = NSLocalizedString(@"Settings",@"");
    26     self.title = NSLocalizedString(@"Settings",@"");
    31 
    27