Re: UIActionSheet -addButtonWithTitle weirdness on iPad

2013-10-03 Thread David Duncan
On Oct 3, 2013, at 12:58 PM, Fritz Anderson wrote: > > On 3 Oct 2013, at 12:59 PM, David Duncan wrote: > >> On Oct 2, 2013, at 11:49 PM, Markus Spoettl wrote: >> >>> On 10/2/13 10:40 PM, David Duncan wrote: On Oct 2, 2013, at 9:33 AM, Markus Spoettl wrote: > On the iPad

Re: UIActionSheet -addButtonWithTitle weirdness on iPad

2013-10-03 Thread Fritz Anderson
On 3 Oct 2013, at 12:59 PM, David Duncan wrote: > On Oct 2, 2013, at 11:49 PM, Markus Spoettl wrote: > >> On 10/2/13 10:40 PM, David Duncan wrote: >>> On Oct 2, 2013, at 9:33 AM, Markus Spoettl wrote: >>> On the iPad (both device and simulator) this produces a sheet with "Button2"

Re: UIActionSheet -addButtonWithTitle weirdness on iPad

2013-10-03 Thread David Duncan
On Oct 2, 2013, at 11:49 PM, Markus Spoettl wrote: > On 10/2/13 10:40 PM, David Duncan wrote: >> On Oct 2, 2013, at 9:33 AM, Markus Spoettl wrote: >> >>> On the iPad (both device and simulator) this produces a sheet with >>> "Button2" missing. No matter how many buttons one adds, the last one a

Re: UIActionSheet -addButtonWithTitle weirdness on iPad

2013-10-02 Thread Markus Spoettl
On 10/2/13 10:40 PM, David Duncan wrote: On Oct 2, 2013, at 9:33 AM, Markus Spoettl wrote: On the iPad (both device and simulator) this produces a sheet with "Button2" missing. No matter how many buttons one adds, the last one added goes missing. On iPhone (again both device and simulator) th

Re: UIActionSheet -addButtonWithTitle weirdness on iPad

2013-10-02 Thread David Duncan
On Oct 2, 2013, at 9:33 AM, Markus Spoettl wrote: > On the iPad (both device and simulator) this produces a sheet with "Button2" > missing. No matter how many buttons one adds, the last one added goes missing. > > On iPhone (again both device and simulator) this produces a sheet with the > exp

Re: UIActionSheet -addButtonWithTitle weirdness on iPad

2013-10-02 Thread Markus Spoettl
OK, I admit I didn't pay attention to that, but removing another button instead of the cancel button hardly feels like just a documentation bug. Anyway, thanks for pointing that out! Regards Markus On 10/2/13 9:21 PM, Fritz Anderson wrote: The class reference _recommends_ not providing a Canc

Re: UIActionSheet -addButtonWithTitle weirdness on iPad

2013-10-02 Thread Fritz Anderson
The class reference _recommends_ not providing a Cancel button for an action sheet that presents in a popover — the user can easily cancel by tapping elsewhere. ("there are times when you should not include a cancel button") The HIG is indirect, recommending a Cancel button for the iPhone, but

UIActionSheet -addButtonWithTitle weirdness on iPad

2013-10-02 Thread Markus Spoettl
Hello, I just came across the following, would someone confirm this: UIActionSheet *sheet = [[UIActionSheet alloc] initWithTitle:nil delegate:self cancelButtonTitle:@"Cancel" destructiveButtonTitle:nil otherButtonTitles:nil];