Sfoglia il codice sorgente

Merge pull request #108 from janicduplessis/master

Include RCTUIManagerUtils.h for more recent RN versions
Gaëtan Renaudeau 7 anni fa
parent
commit
00a56625ad
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