Running your iPad and iPhone apps in the Shared Space

Majority of apps will run fine in VisionOS (check it out in the simulator)

Built-in Behaviors

  • Built on iOS foundations, more than likely your app will just work.
  • iPod and iPad apps will be in light mode in landscape mode.  iOS only would be portrait mode.  If you support rotation you will see rotation button.  Mini and max size will cause bounce.
  • Can use trackpad or game controller when using your app, along with touch.
  • Local authentication is forwarded to Optic ID

Functional Differences

  • There’s no notation of rotating the entire device, so you may define the default orientation – UIPreferredDefaultInterfaceOrientation to you info.plist 
  • UISupportedInterfaceOrientations – will decide if you need a rotation button
  • UIRequiredDeviceCapabilities – will decide if your app can be on the device.  
  • Gestures – work differently
    • Eyes & Hands, maximum of two simultaneous inputs (each hand is a single button)
  • ARKit – ARSession
    • Significantly updated to handle new architecture and privacy.
    • Existing AR views won’t work on this device, you will have to do work on this.
  • Location support – same as iPad
  • Look to Dictate – allows your to quickly adjust around the screen.  You will get a microphone in search fields as an example.
    • API is available, but disabled by default of iOS and iPad app
    • .searchDictationBehavior to enable in SwiftUI
  • Use availability checks to make sure it is available for you try to use it.
  • xrOS Device (Designed for iPad) new target

Choose your experience

  • Most apps don’t need changes at all, you can rebuild against xrOS SDK but not required.
  • Only In iOS SpriteKit and Storyboards
  • You get additional immersion with xrOS SDK – Volume, etc. 
  • You will get system look and feel when using xrOS SDK in the simulator.  Ornaments anchor on side and bottoms.

Check out the Meet SwiftUI for Spacial Computing to see how apps will look and learn what you need.

Tagged , , , . Bookmark the permalink.

Comments are closed.