Contents

isNetworkAccessAllowed

A Boolean value that specifies whether Photos can download the requested video from iCloud.

Declaration

var isNetworkAccessAllowed: Bool { get set }

Discussion

If true, and the requested video is not stored on the local device, Photos downloads the video from iCloud. To be notified of the download’s progress, use the progressHandler property to provide a block that Photos calls periodically while downloading the video. If false (the default), and the video is not on the local device, the PHImageResultIsInCloudKey value in the result handler’s info dictionary indicates that the video is not available unless you enable network access.

See Also

Fetching Video Data from iCloud