summaryrefslogtreecommitdiff
path: root/modules/arkit/arkit_session_delegate.h
diff options
context:
space:
mode:
authorSergey Minakov <naithar@icloud.com>2020-07-15 19:03:01 +0300
committerSergey Minakov <naithar@icloud.com>2020-07-25 21:55:15 +0200
commit66be375eb0b341e1150e9d463ade1e2c134e8808 (patch)
tree20d54f0db6fa907f2d7db590c524841830db1ecc /modules/arkit/arkit_session_delegate.h
parent33038be5ed80545e655d31cc48b1d49ab5336241 (diff)
Modules: update modules to be built for iOS
Using 'available' checks to fix deprecation compilation errors Additional checks for simulator
Diffstat (limited to 'modules/arkit/arkit_session_delegate.h')
-rw-r--r--modules/arkit/arkit_session_delegate.h6
1 files changed, 3 insertions, 3 deletions
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<ARAnchor *> *)anchors;
-- (void)session:(ARSession *)session didRemoveAnchors:(NSArray<ARAnchor *> *)anchors;
-- (void)session:(ARSession *)session didUpdateAnchors:(NSArray<ARAnchor *> *)anchors;
+- (void)session:(ARSession *)session didAddAnchors:(NSArray<ARAnchor *> *)anchors API_AVAILABLE(ios(11.0));
+- (void)session:(ARSession *)session didRemoveAnchors:(NSArray<ARAnchor *> *)anchors API_AVAILABLE(ios(11.0));
+- (void)session:(ARSession *)session didUpdateAnchors:(NSArray<ARAnchor *> *)anchors API_AVAILABLE(ios(11.0));
@end
#endif /* !ARKIT_SESSION_DELEGATE_H */