Check Current Orientation


if ([UIApplication sharedApplication].statusBarOrientation == UIInterfaceOrientationLandscapeLeft){
        //do something or rather
        NSLog(@"landscape left");
    }
    if ([UIApplication sharedApplication].statusBarOrientation == UIInterfaceOrientationLandscapeRight){
        //do something or rather
        NSLog(@"landscape right");
    }
    if ([UIApplication sharedApplication].statusBarOrientation == UIInterfaceOrientationPortrait){
        //do something or rather
        NSLog(@"potrait");
    }
    if ([UIApplication sharedApplication].statusBarOrientation == UIInterfaceOrientationPortraitUpsideDown){
        //do something or rather
        NSLog(@"potrait upside down");
    }

Or you can also use this:

[[UIDevice currentDevice] orientation]