Instance Method

layout

Specifies that the alert must do immediate layout instead of lazily just before display.

Declaration

- (void)layout;

Discussion

You need to call this method only when you need to customize the alert’s layout. Call this method after all the alert’s attributes have been customized, including the suppression checkbox and the accessory layout. After the method returns, you can make the necessary layout changes; for example, adjusting the frame of the accessory view.

See Also

Configuring Alerts

alertStyle

Indicates the alert’s severity level.

accessoryView

The alert’s accessory view.

showsHelp

Specifies whether the alert has a help button.

helpAnchor

The alert’s HTML help anchor.

delegate

The alert’s delegate.