ARSCNView before iOS 11.0 [duplicate]
Asked Answered
A

1

5

I'm trying to add ARKit to one of my existing apps, and I'm making that transition to the view when you click a button. I made the button only available if you have iOS 11 so you'll only be able to go to that view with iOS 11, but how do I get rid of this error for the Storyboard?

Class Unavailable ARSCNView before iOS 11.0

Thanks!

Apollinaire answered 10/11, 2017 at 21:36 Comment(0)
C
18

I guess this answers your question

Not creating ARSCNView in a storyboard, but initializing one and adding it to your view controller's root view in code.

Replacement for ARKit in iOS10

Or you can go to your XIB view and make it Builds for iOS 11 or Later. Builds for iOS 11 or Later

Contemplative answered 11/11, 2017 at 11:32 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.