<!--
{
  "availability" : [
    "iOS: 10.0.0 -",
    "iPadOS: 10.0.0 -",
    "macCatalyst: 13.1.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Messages",
  "identifier" : "/documentation/Messages/MSStickerView/sticker",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Messages"
    ],
    "preciseIdentifier" : "c:objc(cs)MSStickerView(py)sticker"
  },
  "title" : "sticker"
}
-->

# sticker

The displayed sticker object.

```
var sticker: MSSticker? { get set }
```

## Discussion

Set this property to `nil` to remove the current sticker.

If you are using Auto Layout, setting the [`sticker`](/documentation/Messages/MSStickerView/sticker) property changes the view’s intrinsic content size. A view with a `nil`-valued [`sticker`](/documentation/Messages/MSStickerView/sticker) property does not have an intrinsic content size (the intrinsic content size is set to `{UIViewNoIntrinsicMetric, UIViewNoIntrinsicMetric}`). Otherwise, the view’s intrinsic content size is set equal to the size of the sticker’s image file (in points).

If you are not using Auto Layout, setting the sticker property does not change the view’s size. Call <doc://com.apple.documentation/documentation/UIKit/UIView/sizeToFit()> to adjust the size of the view to match the sticker.

---

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)