---
title: connect()
framework: Touch Controller
role: symbol
role_heading: Instance Method
platforms: [iOS 26.0+, iPadOS 26.0+, Mac Catalyst 26.0+]
path: touchcontroller/tctouchcontroller/connect()
---

# connect()

Connects the touch controller to the app, allowing its controls to be drawn and an associated GCController to be created.

## Declaration

```swift
func connect()
```

## See Also

### Connecting and disconnecting a controller

- [disconnect()](touchcontroller/tctouchcontroller/disconnect().md)
