Skip to content

Commit

Permalink
iOS 11 Compatibility
Browse files Browse the repository at this point in the history
Replace ARWorldTrackingSessionConfiguration  with ARWorldTrackingConfiguration, see e.g. markdaws/arkit-by-example#7
  • Loading branch information
noajshu authored Jul 28, 2018
1 parent 64ec696 commit f76fd7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ARKitCompassRose/ViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class ViewController: UIViewController, ARSCNViewDelegate {
override func viewWillAppear(_ animated: Bool) {
super.viewWillAppear(animated)

let configuration = ARWorldTrackingSessionConfiguration()
let configuration = ARWorldTrackingConfiguration()
// Align the real world on z(North-South) x(West-East) axis
configuration.worldAlignment = .gravityAndHeading

Expand Down

0 comments on commit f76fd7a

Please sign in to comment.