Catalyst UIButton Title

Gerriet M. Denkmann

iOS 15.4, macOS 12.3

When UserInterfaceIdiom = pad then UiButton.titleLabel is UILabel with UILabel.text = button title. Ok.

But with UserInterfaceIdiom = mac the UiButton.titleLabel is a UIButtonLabel with .text = nil. Not so good.

How do I get the title of my UIButton with “Optimise Interface for Mac” ?