-
Notifications
You must be signed in to change notification settings - Fork 54
Open
Description
So for my implementation is as below.
[self showActionSheetWithTitle:@"My View"
message:nil
cancelButtonTitle:@"Cancel"
destructiveButtonTitle:nil
otherButtonTitles:@[@"A", @"B", @"C"]
popoverPresentationControllerBlock:^(RMPopoverPresentationController *popover){
popover.sourceView = self.view;
popover.sourceRect = self.view.frame;
}
tapBlock:^(RMUniversalAlert * _Nonnull alert, NSInteger buttonIndex)
{
//Handling code goes here
}];
Which I know absolutely wrong. So I want to ask you that is it possible to center RMUniversalActionSheet? If yes, what will be the values that I have to provide for popover.sourceView and popover.sourceRect?
Metadata
Metadata
Assignees
Labels
No labels