A URL at which to write Live Photo movie output.
- iOS 10.0+
- Mac Catalyst 13.0+
Live Photos capture both a still image and a short movie, which are presented together in user interfaces such as the Photos app. By default, this property’s value is
nil, disabling Live Photo capture. Set this property to a file URL to capture Live Photos.
When you enable Live Photo capture, the following requirements apply:
The URL you specify must be a file URL to an accessible location in your app’s sandbox.
Your delegate object must implement the
Output: did Finish Processing Live Photo To Movie File At URL: duration: photo Display Time: resolved Settings: error:
The capture output validates these requirements when you call the
capture method. If your settings and delegate do not meet these requirements, that method raises an exception.