mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-28 20:25:33 +08:00
Enable transparent modal presentation with <Modal />
Summary: Enable transparent modal backgrounds using `UIModalPresentationCustom` modal presentation style.
This commit is contained in:
@@ -9,11 +9,14 @@
|
||||
|
||||
#import <UIKit/UIKit.h>
|
||||
|
||||
#import "RCTInvalidating.h"
|
||||
|
||||
@class RCTBridge;
|
||||
|
||||
@interface RCTModalHostView : UIView
|
||||
@interface RCTModalHostView : UIView <RCTInvalidating>
|
||||
|
||||
@property (nonatomic, assign, getter=isAnimated) BOOL animated;
|
||||
@property (nonatomic, assign, getter=isTransparent) BOOL transparent;
|
||||
|
||||
- (instancetype)initWithBridge:(RCTBridge *)bridge NS_DESIGNATED_INITIALIZER;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user