---
title: "init(frame:)"
framework: uikit
role: symbol
role_heading: Initializer
path: "uikit/uipastecontrol/init(frame:)"
---

# init(frame:)

Creates a paste button with the specified size and position.

## Declaration

```swift
init(frame: CGRect)
```

## Parameters

- `frame`: A structure that determines the paste button’s size and position within the parent view’s frame.

## See Also

### Creating a paste button

- [init(coder:)](uikit/uipastecontrol/init(coder:).md)
- [init(configuration:)](uikit/uipastecontrol/init(configuration:).md)
