Instance Property

currentPreferredSymbolConfiguration

The current symbol size, style, and weight.

Declaration

var currentPreferredSymbolConfiguration: UIImage.SymbolConfiguration? { get }

Discussion

This can be nil or unspecifiedConfiguration, which is essentially the same as nil but more explicit.

See Also

Getting the Current State

var currentTitle: String?

The current title that is displayed on the button.

var currentAttributedTitle: NSAttributedString?

The current styled title that is displayed on the button.

var currentTitleColor: UIColor

The color used to display the title.

var currentTitleShadowColor: UIColor?

The color of the title’s shadow.

var currentImage: UIImage?

The current image displayed on the button.

var currentBackgroundImage: UIImage?

The current background image displayed on the button.

var imageView: UIImageView?

The button’s image view.