---
title: switchedOnContents
framework: Touch Controller
role: symbol
role_heading: Instance Property
platforms: [iOS 26.0+, iPadOS 26.0+, Mac Catalyst 26.0+]
path: touchcontroller/tcswitch/switchedoncontents
---

# switchedOnContents

The contents for the switch when it is switched on.

## Declaration

```swift
var switchedOnContents: TCControlContents? { get set }
```

## Discussion

Discussion This value can be nil.

## See Also

### Inspecting the switch

- [contents](touchcontroller/tcswitch/contents.md)
- [highlightDuration](touchcontroller/tcswitch/highlightduration.md)
- [isSwitchedOn](touchcontroller/tcswitch/isswitchedon.md)
