The scale factor of the frame image relative to the Live Photo’s photo content.
- iOS 10.0+
- macOS 10.12+
- Mac Catalyst 13.0+
- tvOS 10.0+
Photos calls your
frame block repeatedly, both to process each frame of the Live Photo’s video content and to process the Live Photo’s still photo content. Video frames can be a different size than still photo content—use this value to scale any of your image processing parameters that depend on the image’s size.
For example, the following code uses this property to ensure that the radius of a blur filter is consistent across all frames of a Live Photo: