Instance Method

showFromRect:inView:animated:

Displays an action sheet that originates from the specified view.

Declaration

- (void)showFromRect:(CGRect)rect inView:(UIView *)view animated:(BOOL)animated;

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 YES to animate the presentation of the action sheet or NO 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.

See Also

Presenting the Action Sheet

- showFromTabBar:

Displays an action sheet that originates from the specified tab bar.

Deprecated
- showFromToolbar:

Displays an action sheet that originates from the specified toolbar.

Deprecated
- showInView:

Displays an action sheet that originates from the specified view.

Deprecated
- showFromBarButtonItem:animated:

Displays an action sheet that originates from the specified bar button item.

Deprecated