<!--
{
  "availability" : [
    "iOS: 3.2.0 - 8.3.0",
    "iPadOS: 3.2.0 - 8.3.0",
    "macCatalyst: 13.1.0 - 13.1.0"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIActionSheet/show(from:in:animated:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:objc(cs)UIActionSheet(im)showFromRect:inView:animated:"
  },
  "title" : "show(from:in:animated:)"
}
-->

# show(from:in:animated:)

Displays an action sheet that originates from the specified view.

```
func show(from rect: CGRect, in view: UIView, animated: Bool)
```

## Parameters

`rect`

The portion of `view` from which to originate the action sheet.

`view`

The view from which to originate the action sheet.

`animated`

Specify <doc://com.apple.documentation/documentation/Swift/true> to animate the presentation of the action sheet or <doc://com.apple.documentation/documentation/Swift/false> to present it immediately without any animation effects.

## Discussion

On iPad, this method displays the action sheet in a popover whose arrow points to the specified rectangle of the view. The popover does not overlap the specified rectangle.

---

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)