Returns a Boolean indicating whether the item is targeted for storage in iCloud.
- iOS 5.0+
- macOS 10.7+
- Mac Catalyst 13.0+Beta
- tvOS 9.0+
- watchOS 2.0+
Specify the URL for the file or directory whose status you want to check.
true if the item is targeted for iCloud storage or
false if it is not. This method also returns
false if no item exists at
This method reflects only whether the item should be stored in iCloud because a call was made to the
set method with a value of
true for its
flag parameter. This method does not reflect whether the file has actually been uploaded to any iCloud servers. To determine a file’s upload status, check the
NSURLUbiquitous attribute of the corresponding