Skip to content
This repository has been archived by the owner on Dec 28, 2022. It is now read-only.

ARWorldTrackingSessionConfiguration deprecated #10

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion arkit-by-example/ViewController.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
@property (nonatomic, retain) NSMutableDictionary<NSUUID *, Plane *> *planes;
@property (nonatomic, retain) NSMutableArray<Cube *> *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;

Expand Down
2 changes: 1 addition & 1 deletion arkit-by-example/ViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down