<!--
{
  "availability" : [
    "iOS: 5.0.0 -",
    "iPadOS: 5.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.7.0 -",
    "tvOS: 9.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Foundation",
  "identifier" : "/documentation/Foundation/FileManager/isUbiquitousItem(at:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Foundation"
    ],
    "preciseIdentifier" : "c:objc(cs)NSFileManager(im)isUbiquitousItemAtURL:"
  },
  "title" : "isUbiquitousItem(at:)"
}
-->

# isUbiquitousItem(at:)

Returns a Boolean indicating whether the item is targeted for storage in iCloud.

```
func isUbiquitousItem(at url: URL) -> Bool
```

## Parameters

`url`

Specify the URL for the file or directory whose status you want to check.

## Return Value

<doc://com.apple.documentation/documentation/Swift/true> if the item is targeted for iCloud storage or <doc://com.apple.documentation/documentation/Swift/false> if it is not. This method also returns <doc://com.apple.documentation/documentation/Swift/false> if no item exists at `url`.

## Discussion

This method reflects only whether the item should be stored in iCloud because a call was made to the  [`setUbiquitous(_:itemAt:destinationURL:)`](/documentation/Foundation/FileManager/setUbiquitous(_:itemAt:destinationURL:)) method with a value of <doc://com.apple.documentation/documentation/Swift/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 `NSURLUbiquitousItemIsUploadedKey` attribute of the corresponding [`NSURL`](/documentation/Foundation/NSURL) object.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)