On Jun 23, 2014, at 7:50 PM, Rick Mann <rm...@latencyzero.com> wrote:
> I'm trying to implement something like the photos app delete button. I > present the action sheet to confirm deletion, but the sheet is too large for > the single button; there's a larger gap below the button than above it. Any > idea what's going on, or how to address it? > > > http://cl.ly/image/3S2y3G1h2X17/Screen%20Shot%202014-06-23%20at%2017.41.50%20.png I’ve encountered this behavior with action sheets displayed in a popover on an iPad. The docs tell you that you shouldn’t include a cancel item in this case, because tapping outside the popover effectively cancels. If you don’t include a cancel item in this case, then the action sheet appears as in your screen shot (extra space at the bottom). If you do include a cancel item, it is not displayed in the action sheet (in this case) and the extra space at the bottom does not appear. _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com