Skip to content

Instantly share code, notes, and snippets.

// In the class continuation or private category
{
UIView *_portraitView;
UIView *_landscapeView;
}
@property (nonatomic, readonly) UIView *portraitView;
@property (nonatomic, readonly) UIView *landscapeView;
- (UIView *)subViewForOritentation:(UIInterfaceOrientation)orientation;