Browse Source

Merge pull request #108 from janicduplessis/master

Include RCTUIManagerUtils.h for more recent RN versions
Gaëtan Renaudeau 7 years ago
parent
commit
00a56625ad
1 changed files with 3 additions and 0 deletions
  1. 3
    0
      ios/RNViewShot.m

+ 3
- 0
ios/RNViewShot.m View 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