---
title: "init(frame:stickerSize:)"
framework: messages
role: symbol
role_heading: Initializer
path: "messages/msstickerbrowserview/init(frame:stickersize:)"
---

# init(frame:stickerSize:)

Creates a new sticker browser containing stickers of the specified size.

## Declaration

```swift
init(frame: CGRect, stickerSize: MSStickerSize)
```

## Parameters

- `frame`: A rectangular frame for the view, measured in points. The origin of the frame is relative to its superview. This method uses the provided rectangle to set the view’s doc://com.apple.documentation/documentation/UIKit/UIView/center and doc://com.apple.documentation/documentation/UIKit/UIView/bounds properties.
- `stickerSize`: The size of the stickers. For a list of possible values, see doc://com.apple.messages/documentation/Messages/MSStickerSize.

## Return Value

Return Value A newly initialized sticker browser view.

## See Also

### Creating Sticker Browser Views

- [init(frame:)](messages/msstickerbrowserview/init(frame:).md)
