uilib-native 5.0.0-snapshot.7386 → 5.0.0-snapshot.7392
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/ios/reactnativeuilib/keyboardinput/rctcustomInputcontroller/RCTCustomInputControllerTemp.m
CHANGED
|
@@ -13,7 +13,11 @@
|
|
|
13
13
|
|
|
14
14
|
#import "LNAnimatorTemp.h"
|
|
15
15
|
|
|
16
|
-
#
|
|
16
|
+
#if __has_include(<React-RCTAppDelegate/RCTAppDelegate.h>)
|
|
17
|
+
#import <React-RCTAppDelegate/RCTAppDelegate.h>
|
|
18
|
+
#elif __has_include(<React_RCTAppDelegate/RCTAppDelegate.h>)
|
|
19
|
+
#import <React_RCTAppDelegate/RCTAppDelegate.h>
|
|
20
|
+
#endif
|
|
17
21
|
|
|
18
22
|
#define kHlperViewTag 0x1f1f1f
|
|
19
23
|
|
|
@@ -145,7 +149,7 @@ RCT_EXPORT_METHOD(presentCustomInputComponent:(nonnull NSNumber*)inputFieldTag p
|
|
|
145
149
|
UIView* inputField = [self.bridge.uiManager viewForReactTag:inputFieldTag];
|
|
146
150
|
NSDictionary *initialProps = params[@"initialProps"];
|
|
147
151
|
|
|
148
|
-
|
|
152
|
+
RCTAppDelegate* appDelegate = (RCTAppDelegate*)[UIApplication sharedApplication].delegate;
|
|
149
153
|
UIView *rv = [appDelegate.rootViewFactory viewWithModuleName:params[@"component"]
|
|
150
154
|
initialProperties:initialProps];
|
|
151
155
|
|
package/package.json
CHANGED