---
title: "requestSecurityScopedURL(completion:)"
framework: imagecapturecore
role: symbol
role_heading: Instance Method
path: "imagecapturecore/iccamerafile/requestsecurityscopedurl(completion:)"
---

# requestSecurityScopedURL(completion:)

## Declaration

```swift
func requestSecurityScopedURL(completion: @escaping @Sendable (URL?, (any Error)?) -> Void)
```

```swift
func requestSecurityScopedURL() async throws -> URL
```
