ipad - How to show an action sheet inside the popover? -


I have a partitioned view controller, which has a table view controller on the left. How do I show an action sheet inside popoir when I click the expanding table cell extension?

"post-text" itemprop = "text">

Try this:

  UIActionSheet * popupSheet = [[UIActionSheet alloc] initWithTitle: @ "Title "Rep: Self cancelButtonTitle: @" Cancel "Destructive ButtonTitle: @" No Way! " OtherButtonTitles: zero]; PopupSheet.actionSheetStyle = UIActionSheetStyleBlackOpaque; UIButton * Disclosure Button = (UIButton *) cell.accessoryView; [Popup sheet showproof: Disclosure button. Bytes invoice: cell. Assetview Animated: Yes]; [Popup sheet release];  

This status is showFromRect: inView: animated: method:

Displays the action sheet in the popover whose arrow points On the specified rectangle of view (expansions button in our case). Popup does not overlap the specified rectangle.


Comments