---
title: PHImageResultIsInCloudKey
framework: photos
role: symbol
role_heading: Global Variable
path: photos/phimageresultisincloudkey
---

# PHImageResultIsInCloudKey

A key whose value indicates whether photo asset data is stored on the local device or must be downloaded from iCloud.

## Declaration

```swift
let PHImageResultIsInCloudKey: String
```

## Discussion

Discussion This key provides information about an image loading result in the resultHandler block for methods listed in Requesting Images. The corresponding value is an NSNumber object containing a Boolean value. If true, no image was provided, because the asset data must be downloaded from iCloud. To download the data, submit another request, and specify true for the isNetworkAccessAllowed option.

## See Also

### Constants

- [PHImageResultIsDegradedKey](photos/phimageresultisdegradedkey.md)
- [PHImageResultRequestIDKey](photos/phimageresultrequestidkey.md)
- [PHImageCancelledKey](photos/phimagecancelledkey.md)
- [PHImageErrorKey](photos/phimageerrorkey.md)
