×

Get Last Photo

iOS 14 +

Notes

Retrieves the last n photos in your library. You can optionally include screenshots or not.

Syntax

getLastPhoto(count: <#Integer or Variable#>, screenshots: <#Boolean#>)

Example

getLastPhoto(count: 10, screenshots: false)