| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
- //
- // ApexMobileNavigationController.m
- // Apex Mobile
- //
- // Created by Ray on 14-3-9.
- // Copyright (c) 2014年 United Software Applications, Inc. All rights reserved.
- //
- #import "iSalesNavigationController.h"
- @interface iSalesNavigationController ()
- @end
- @implementation iSalesNavigationController
- - (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
- {
- self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
- if (self) {
- // Custom initialization
- }
- return self;
- }
- - (void)viewDidLoad
- {
- [super viewDidLoad];
- // Do any additional setup after loading the view.
- }
- - (void)didReceiveMemoryWarning
- {
- [super didReceiveMemoryWarning];
- // Dispose of any resources that can be recreated.
- }
- -(BOOL)shouldAutorotate
- {
- return [[self topViewController] shouldAutorotate];
- // return TRUE;
- }
- - (UIInterfaceOrientation)preferredInterfaceOrientationForPresentation
- {
- return [[self topViewController] preferredInterfaceOrientationForPresentation];
- }
- -(UIInterfaceOrientationMask)supportedInterfaceOrientations
- {
- // return UIInterfaceOrientationMaskLandscape;
- return [[self topViewController] supportedInterfaceOrientations];
- }
- - (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)toInterfaceOrientation
- {
- return [[self topViewController] shouldAutorotateToInterfaceOrientation:toInterfaceOrientation];
- // return (toInterfaceOrientation == UIInterfaceOrientationPortrait);
-
- }
- @end
|