Platforms to show: All Mac Windows Linux Cross-Platform

PHLivePhotoControlMBS control

Type Topic Plugin Version macOS Windows Linux Console & Web iOS
control Photos MBS Mac64bit Plugin 20.2 Yes No No No No
Function: A view that displays a Live Photo—a picture that also includes motion and sound from the moments just before and after its capture.
Use a Live Photo view to display the photo and control playback of its motion and sound content.

In macOS, Live Photo objects are available only when editing Live Photo content in a photo editing extension that runs in the Photos app—see the PHContentEditingInputMBS class to access Live Photo content in an editing session.

By default, a Live Photo view uses its own gesture recognizer to allow the user to play the motion and sound content of a Live Photo with the same interactions and visual effects seen in the Photos app. To customize this gesture recognizer—for example, to install it on a different view for proper event handling in your app’s view hierarchy—use the playbackGestureRecognizer property.

To animate the view briefly to hint that a picture is a Live Photo, use the startPlayback method with the PlaybackStyleHint option.

Feedback, Comments & Corrections

Some examples which use this control:

Blog Entries

Xojo Developer Magazine

The items on this page are in the following plugins: MBS Mac64bit Plugin.

PDFViewControlMBS   -   QCViewControlMBS

The biggest plugin in space...

MBS FileMaker Plugins