Skip to content
This repository has been archived by the owner on Jul 3, 2021. It is now read-only.

0.13.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@junpluse junpluse released this 26 Apr 10:02
· 25 commits to master since this release
  • Add StereoViewController.introductionView (#18)

StereoViewController.introductionView is displayed while the phone is not inserted into a Cardboard viewer.

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

Additions

  • New property StereoViewController.introductionView