From d201b093b1c1bcd8a5be760296176271c02da87a Mon Sep 17 00:00:00 2001 From: Jacob Madden Date: Tue, 12 Sep 2017 18:52:33 -0400 Subject: [PATCH] ARWorldTrackingSessionConfiguration deprecated, replace with ARWorldTrackingConfiguration --- arkit-by-example/ViewController.h | 2 +- arkit-by-example/ViewController.m | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arkit-by-example/ViewController.h b/arkit-by-example/ViewController.h index 6976d30..f7e55ad 100644 --- a/arkit-by-example/ViewController.h +++ b/arkit-by-example/ViewController.h @@ -36,7 +36,7 @@ @property (nonatomic, retain) NSMutableDictionary *planes; @property (nonatomic, retain) NSMutableArray *cubes; @property (nonatomic, retain) Config *config; -@property (nonatomic, retain) ARWorldTrackingSessionConfiguration *arConfig; +@property (nonatomic, retain) ARWorldTrackingConfiguration *arConfig; @property (weak, nonatomic) IBOutlet MessageView *messageViewer; @property (nonatomic) ARTrackingState currentTrackingState; diff --git a/arkit-by-example/ViewController.m b/arkit-by-example/ViewController.m index 4001f06..b049d34 100644 --- a/arkit-by-example/ViewController.m +++ b/arkit-by-example/ViewController.m @@ -30,7 +30,7 @@ - (void)viewDidLoad { [self setupRecognizers]; // Create a ARSession confi object we can re-use - self.arConfig = [ARWorldTrackingSessionConfiguration new]; + self.arConfig = [ARWorldTrackingConfiguration new]; self.arConfig.lightEstimationEnabled = YES; self.arConfig.planeDetection = ARPlaneDetectionHorizontal;