ejeinc / MetalScope

Metal-backed 360° panorama view for iOS
MIT License
324 stars 72 forks source link

Add `StereoViewController.introductionView` #18

Closed junpluse closed 7 years ago

junpluse commented 7 years ago

introductionView is displayed while the phone is not inserted into a Cardboard viewer (= the orientation is not .landscapeLeft).

let introView = UILabel()
introView.text = "Place your phone into your Cardboard viewer."
introView.textColor = .white
introView.textAlignment = .center
introView.backgroundColor = .black

let stereoViewController = StereoViewController(device: device)
stereoViewController.introductionView = introView