Use this code to open an actionsheet.
On iPhone works perfectly, but on iPad it crashes. I think it's because of arm64. Probably I have to transform Actionsheet into a popover.

How do I change this code?

```
- (void)pushedNewBtn
{
    UIActionSheet *sheet = [[UIActionSheet alloc] initWithTitle:nil delegate:self cancelButtonTitle:@"Cancel" destructiveButtonTitle:nil otherButtonTitles:@"Camera", @"Photo Library", nil];
    [sheet showInView:self.view.window];
}

```