showsCloseButton
A Boolean value that indicates whether the panel displays a close button.
Declaration
var showsCloseButton: Bool { get set }Discussion
When the value of this property is true, the panel displays a close button that the driver can use to dismiss the panel. When the value of this property is false, you need to dismiss the panel programmatically from your app. The default value of this property is true.