linphone-iphone/Classes/Utils/TPMultiLayoutViewController/TPMultiLayoutViewController.h
Guillaume BIENKOWSKI b6d8afe22e Migrate to ARC \o/
2015-06-02 11:54:48 +02:00

27 lines
793 B
Objective-C
Executable file

//
// TPMultiLayoutViewController.h
//
// Created by Michael Tyson on 14/08/2011.
// Copyright 2011 A Tasty Pixel. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface TPMultiLayoutViewController : UIViewController {
UIView *portraitView;
UIView *landscapeView;
@private
NSDictionary *portraitAttributes;
NSDictionary *landscapeAttributes;
BOOL viewIsCurrentlyPortrait;
}
// Call directly to use with custom animation (override willRotateToInterfaceOrientation to disable the switch there)
- (void)applyLayoutForInterfaceOrientation:(UIInterfaceOrientation)newOrientation;
@property (nonatomic, strong) IBOutlet UIView *landscapeView;
@property (nonatomic, strong) IBOutlet UIView *portraitView;
@property (assign) BOOL viewIsCurrentlyPortrait;
@end