Instance Property

buttonGroup

The group on the shortcuts bar to which the button belongs.

Declaration

@property(nonatomic, readonly, weak) UIBarButtonItemGroup *buttonGroup;

Discussion

For bar button items installed on the shortcuts bar above the keyboard, this property contains the group to which the item belongs. This property is configured automatically when you add the bar button item to a UIBarButtonItemGroup object. If the item is not associated with a bar button item group, this property is nil.