Incorrect UIActionSheet layout in popover

Ive got a UIActionSheet with one button, which I show in a popover. In landscape mode, there is enough space around the popover, so it displays with an arrow in the middle, and everything is fine:

in landscape

In the portrait, the poster should be displayed with an arrow on the right side:

in portrait

Now the button looks a little too low and a little too far to the right (this is not cropping). Have you seen this behavior? Did you manage to fix it?

+6
ios uipopovercontroller uiactionsheet
source share
1 answer

Looks weird?

From the top of the head you can send a button

 [button sizeToFit] 

after adding to popover. This is a long shot.

0
source share

All Articles