Augmented Reality Basics in .NET MAUI on iOS
Augmented reality blends virtual elements into the live camera view. David Britch kicks off his ARKit series by creating a custom .NET MAUI control, backed by a handler, that renders a 3D cube at the world origin on iOS.
What you’ll learn
- Platform setup — adding the camera usage description and codesigning properties needed to deploy an ARKit app
- A custom control and handler — creating an
ARViewwith anIsSessionRunningproperty mapped to native start/stop logic - Encapsulating ARKit — wrapping
ARSCNViewandARSessionin aMauiARViewand running anARWorldTrackingConfiguration - Adding SceneKit content — building a
CubeNodefrom anSCNBoxand placing it at the world origin - Consuming the control — registering the handler and driving the session from an MVVM view model
Read the full post for the complete handler architecture and code, and note that ARKit requires a physical iPhone.