diff --git a/React/Base/RCTConvert.h b/React/Base/RCTConvert.h index 6c7cb18dc0b429..219a06a7621829 100644 --- a/React/Base/RCTConvert.h +++ b/React/Base/RCTConvert.h @@ -15,7 +15,9 @@ #import #import #import +#if TARGET_OS_IPHONE && WEBKIT_IOS_10_APIS_AVAILABLE #import +#endif /** * This class provides a collection of conversion functions for mapping