---
title: "init(from:)"
framework: Immersive Media Support
role: symbol
role_heading: Initializer
platforms: [iOS 26.4+, iPadOS 26.4+, Mac Catalyst 26.4+, macOS 26.0+, visionOS 26.0+]
path: "immersivemediasupport/shotflopcommand/init(from:)"
---

# init(from:)

## Declaration

```swift
init(from decoder: any Decoder) throws
```
