---
title: "presentContent(_:from:)"
framework: proximityreader
role: symbol
role_heading: Instance Method
path: "proximityreader/proximityreaderdiscovery/presentcontent(_:from:)"
---

# presentContent(_:from:)

Presents a sheet that teaches merchants how to use the specified feature.

## Declaration

```swift
final func presentContent(_ content: ProximityReaderDiscovery.Content, from viewController: UIViewController) async throws
```

## Parameters

- `content`: The topic to teach. You can get a list of available topics from the doc://com.apple.ProximityReader/documentation/ProximityReader/ProximityReaderDiscovery/contentList property or fetch a topic for a specific subject using the doc://com.apple.ProximityReader/documentation/ProximityReader/ProximityReaderDiscovery/content(for:) method.
- `viewController`: The view controller to use when presenting the sheet. Specify a currently visible view controller in your app.

## Discussion

Discussion note: This method throws a ProximityReaderDiscovery.ContentError if the sheet fails to appear. Call this method when you want to display information about how to use ProximityReader features on a merchant’s iPhone.  For example, you might use this method to display instructions for how the merchant uses Tap to Pay on iPhone. This method presents the requested information in a sheet on top of your app’s UI, which remains on-screen until the person dismiss it or an error occurs.
