//
//  IFNavigationController.m
//  Downloader
//
//  Created by hxhg-LiDong on 13-2-8.
//  Copyright (c) 2013年 LiDong. All rights reserved.
//

#import "IFNavigationController.h"

@implementation IFNavigationController

- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)toInterfaceOrientation {
    return UISettingsShouldRotateToInterfaceOrientation(toInterfaceOrientation);
}

- (UIInterfaceOrientationMask)supportedInterfaceOrientations {
    return UISettingsSupportedInterfaceOrientation();
}

- (BOOL)shouldAutorotate {
    return !UISettingsOrientationIsLocked();
}

@end
