21 lines
478 B
Objective-C
21 lines
478 B
Objective-C
//
|
|
// react-native-orientation-locker
|
|
// Orientation.h
|
|
//
|
|
// Created by Wonday on 17/5/12.
|
|
// Copyright (c) wonday.org All rights reserved.
|
|
//
|
|
|
|
|
|
#import <Foundation/Foundation.h>
|
|
#import <UIKit/UIKit.h>
|
|
#import <React/RCTBridgeModule.h>
|
|
#import <React/RCTEventEmitter.h>
|
|
|
|
@interface Orientation : RCTEventEmitter <RCTBridgeModule>
|
|
#if (!TARGET_OS_TV)
|
|
+ (void)setOrientation: (UIInterfaceOrientationMask)orientation;
|
|
+ (UIInterfaceOrientationMask)getOrientation;
|
|
#endif
|
|
@end
|