mirror of
https://github.com/status-im/react-native.git
synced 2025-01-09 09:12:02 +00:00
6493a85754
Summary: We have to have a way to track ownership of shadow view. Previous solution with traversing the hierarchy to figure out the root view does not actually work in some cases when the view is temporary detached from hierarchy. This is also how it work on Andorid. Reviewed By: mmmulani Differential Revision: D5686112 fbshipit-source-id: a23a10e8c29c7572ac69403289db136c9d5176a9
21 lines
506 B
Objective-C
21 lines
506 B
Objective-C
/**
|
|
* Copyright (c) 2015-present, Facebook, Inc.
|
|
* All rights reserved.
|
|
*
|
|
* This source code is licensed under the BSD-style license found in the
|
|
* LICENSE file in the root directory of this source tree. An additional grant
|
|
* of patent rights can be found in the PATENTS file in the same directory.
|
|
*/
|
|
|
|
#import <UIKit/UIKit.h>
|
|
|
|
#import <React/RCTShadowView.h>
|
|
|
|
@class RCTRootShadowView;
|
|
|
|
@interface RCTShadowView (Internal)
|
|
|
|
@property (nonatomic, weak, readwrite) RCTRootShadowView *rootView;
|
|
|
|
@end
|