---
title: "itemProviderVisibilityForRepresentation(withTypeIdentifier:)"
framework: foundation
role: symbol
role_heading: Instance Method
path: "foundation/nsitemproviderwriting/itemprovidervisibilityforrepresentation(withtypeidentifier:)-swift.method"
---

# itemProviderVisibilityForRepresentation(withTypeIdentifier:)

Asks the item provider for the representation visibility specification for the given UTI.

## Declaration

```swift
optional func itemProviderVisibilityForRepresentation(withTypeIdentifier typeIdentifier: String) -> NSItemProviderRepresentationVisibility
```

## Parameters

- `typeIdentifier`: A uniform type identifier (UTI).

## Return Value

Return Value A representation visibility specification for the given UTI.

## See Also

### Getting the representation visibility specification

- [itemProviderVisibilityForRepresentation(withTypeIdentifier:)](foundation/nsitemproviderwriting/itemprovidervisibilityforrepresentation(withtypeidentifier:)-swift.type.method.md)
