Initializes a grid button with specified title variants, image, and action handler.
- iOS 12.0+
An array of title variants for the button. Each title should be localized and ready for display to the user. When the system displays the button, it selects the title that best fits the available screen space, so arrange the variants from most to least preferred. Always include at least one title in the array.
The image to display on the button. If you provide an animated image, the button uses the first image in the animation sequence.
The block invoked after the user taps the button.
A newly initialized grid button.