From 66be375eb0b341e1150e9d463ade1e2c134e8808 Mon Sep 17 00:00:00 2001 From: Sergey Minakov Date: Wed, 15 Jul 2020 19:03:01 +0300 Subject: Modules: update modules to be built for iOS Using 'available' checks to fix deprecation compilation errors Additional checks for simulator --- modules/arkit/arkit_session_delegate.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'modules/arkit/arkit_session_delegate.h') diff --git a/modules/arkit/arkit_session_delegate.h b/modules/arkit/arkit_session_delegate.h index 158b80a60a..df98bf506e 100644 --- a/modules/arkit/arkit_session_delegate.h +++ b/modules/arkit/arkit_session_delegate.h @@ -42,9 +42,9 @@ class ARKitInterface; @property(nonatomic) ARKitInterface *arkit_interface; -- (void)session:(ARSession *)session didAddAnchors:(NSArray *)anchors; -- (void)session:(ARSession *)session didRemoveAnchors:(NSArray *)anchors; -- (void)session:(ARSession *)session didUpdateAnchors:(NSArray *)anchors; +- (void)session:(ARSession *)session didAddAnchors:(NSArray *)anchors API_AVAILABLE(ios(11.0)); +- (void)session:(ARSession *)session didRemoveAnchors:(NSArray *)anchors API_AVAILABLE(ios(11.0)); +- (void)session:(ARSession *)session didUpdateAnchors:(NSArray *)anchors API_AVAILABLE(ios(11.0)); @end #endif /* !ARKIT_SESSION_DELEGATE_H */ -- cgit v1.2.3