Pārlūkot izejas kodu

Merge pull request #108 from janicduplessis/master

Include RCTUIManagerUtils.h for more recent RN versions
Gaëtan Renaudeau 7 gadus atpakaļ
vecāks
revīzija
00a56625ad
1 mainītis faili ar 3 papildinājumiem un 0 dzēšanām
  1. 3
    0
      ios/RNViewShot.m

+ 3
- 0
ios/RNViewShot.m Parādīt failu

@@ -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