---
title: tapHandler
framework: social
role: symbol
role_heading: Instance Property
path: social/slcomposesheetconfigurationitem/taphandler
---

# tapHandler

A custom tap handler block that handles user interaction with a configuration item.

## Declaration

```swift
var tapHandler: SLComposeSheetConfigurationItemTapHandler! { get set }
```

## Discussion

Discussion Called when the user taps the configuration item. Note that tapHandler is called on the main queue; to avoid a possible retain cycle, your block should not keep a strong reference to either the configuration item or the compose view controller.

## See Also

### Responding to User Interaction

- [SLComposeSheetConfigurationItemTapHandler](social/slcomposesheetconfigurationitemtaphandler.md)
