---
schema_version: "1"
id: 20bb9e5e925ea40f3da30e5d75e215758989c621880cada34277a1bac9bc62e0
title: URLHandlingDelegate
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/marketing-cloud-mobilepush/engagement_sdk/references/ios-sdk-v11/sfmc-sdk/protocols/urlhandlingdelegate.md
canonical_url: https://developer.salesforce.com/docs/marketing/mobile-unified-sdk/references/engagement-mobile-sdk-reference/urlhandlingdelegate.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: 52aff25a96b7e682beb296a594921c47686b4663e84e2d314573940e935471a0
products:
  - Salesforce Engagement SDK
---
# URLHandlingDelegate

`Protocol`

Receives Marketing Cloud URLs for your app to open or handle.

## Declaration

```swift
@objc(SFMCSdkURLHandlingDelegate)
public protocol URLHandlingDelegate

@objc
func sfmc_handleURL(_ url: URL, type: String)
```

## Cases

### `sfmc_handleURL(_:type:)`

Called when the SDK has a URL to handle.

```swift
@objc
func sfmc_handleURL(_ url: URL, type: String)
```

---
