Sfoglia il codice sorgente

Include RCTUIManagerUtils.h for more recent RN versions

Janic Duplessis 7 anni fa
parent
commit
31a13f4d00
1 ha cambiato i file con 3 aggiunte e 0 eliminazioni
  1. 3
    0
      ios/RNViewShot.m

+ 3
- 0
ios/RNViewShot.m Vedi File

@@ -6,6 +6,9 @@
6 6
 #import <React/RCTConvert.h>
7 7
 #import <React/RCTScrollView.h>
8 8
 #import <React/RCTUIManager.h>
9
+#if __has_include(<React/RCTUIManagerUtils.h>)
10
+#import <React/RCTUIManagerUtils.h>
11
+#endif
9 12
 #import <React/RCTBridge.h>
10 13
 
11 14
 @implementation RNViewShot