<!--
{
  "availability" : [
    "iOS: 10.0.0 -",
    "iPadOS: 10.0.0 -",
    "macCatalyst: 13.1.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Messages",
  "identifier" : "/documentation/Messages/MSStickerBrowserViewDataSource/numberOfStickers(in:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Messages"
    ],
    "preciseIdentifier" : "c:objc(pl)MSStickerBrowserViewDataSource(im)numberOfStickersInStickerBrowserView:"
  },
  "title" : "numberOfStickers(in:)"
}
-->

# numberOfStickers(in:)

Asks the data source for the number of stickers that the browser will display.

```
func numberOfStickers(in stickerBrowserView: MSStickerBrowserView) -> Int
```

## Parameters

`stickerBrowserView`

The sticker browser view that displays these stickers.

## Return Value

The number of stickers. This must be a non-negative number.

## Discussion

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)