mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-17 11:08:06 +00:00
27 lines
791 B
Objective-C
Executable file
27 lines
791 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
|