showsCancelButton
A Boolean value indicating whether the cancel button is displayed.
Declaration
var showsCancelButton: Bool { get set }Discussion
When the value of this property is true, the cancel button is displayed if the app is running on iPhone. The value of this property is ignored, and no cancel button is displayed, for apps running on iPad. The default value is false.