While my iPhone can use the “DoSomethingAndGoBackToMasterView” button fine,
the same button does nothing for iPad.

Of course iPad does not need an unwinding segue - both master and detail view 
are always visible (at least in landscape orientation). But the “DoSomething” 
part is still needed.

Currently the button has a Triggered Segue (used on iPhone) and a Sent Action - 
obviously ignored, because of the segue.

So the idea: if the app starts on iPad, I could just clear the Triggered Segue 
and the Sent Action would be used.
But how? UIBarButtonItem has nothing about segues.

Can this be done? Or is there a better way to make my button work both for 
iPhone and iPad?

Gerriet.


_______________________________________________

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

Reply via email to