Build a Tilt-Controlled 3D Portal Experience in SwiftUI

Lesson 17 of 17Spline 3DAdvanced14 min

Learn how to build a 3D portal that reacts as you tilt your device. 📲

In this tutorial, we’ll create and connect a Spline 3D portal to SwiftUI and use the iPhone’s gyroscope to shift the portal’s perspective in real time. It’s a fun and approachable way to bring immersive 3D moments into your iOS apps.

Let’s go! 🚀

Docs: https://docs.spline.design/exporting-your-scene/apple-platform/code-api-for-swift-ui

Related resources