Currently the issue I am facing is while showing a `UIAlertController` with `UIAlertControllerStyleActionSheet` as it's preferred style, and adding a button with `UIAlertActionStyleCancel` results in display problems. *The presented \_UIPopoverView's frame isn't large enough to display the whole action sheet.*

**Here is the code:-**

```
- (IBAction)showActionSheet:(UIButton *)sender {
    [self presentActionSheetFromSender:sender withCancelButtonStyel:UIAlertActionStyleCancel];
}

- (void)presentActionSheetFromSender:(UIButton *)sender withCancelButtonStyel:(UIAlertActionStyle)cancelButtonStyle {
    UIAlertController *alertController = [UIAlertController alertControllerWithTitle:@"TestController" message:@"TestMessage" preferredStyle:UIAlertControllerStyleActionSheet];
    alertController.popoverPresentationController.sourceRect = sender.bounds;
    alertController.popoverPresentationController.sourceView = sender;

    [alertController addAction:[UIAlertAction actionWithTitle:@"Cancel" style:cancelButtonStyle handler:^(UIAlertAction *action) {
        [alertController dismissViewControllerAnimated:YES completion:nil];
    }]];

    [self presentViewController:alertController animated:YES completion:nil];
}

```

**So the current issue is that the ActionSheet only shows the title and message, cutting off the Cancel button.**