An object to be notified when Live Photo playback begins or ends.
SDKs
- iOS 9.1+
- macOS 10.12+
- Mac Catalyst 13.0+
- tvOS 10+
Framework
- Photos
UI
Declaration
@property(readwrite, nonatomic, weak) id<PHLive Photo View Delegate> delegate;
An object to be notified when Live Photo playback begins or ends.
SDKs
Framework
@property(readwrite, nonatomic, weak) id<PHLive Photo View Delegate> delegate;
PHLive Photo View Delegate
The PHLive
protocol describes messages sent by a PHLive
instance in response to playback events when playing the motion and sound content associated with a Live Photo. To receive these messages, implement the methods in this protocol in one of your controller objects and assign that object to the delegate
property of a Live Photo view.