I need to show 3D model via ARKit using ARSCNView
, however, if user has an unsupported device A8- or iOS version 10-, so the app would use SCNView
.
Is it possible to maintain that in one ViewController
and Storyboard
?
How should I init sceneView in Objective-C?
if (ARConfiguration.isSupported) {
// use ARSCNView
} else {
// use SCNView
}