OS 15 update seems to have changed some button behavior.
You can use sender.titleLable!.text!
instead of
sender.title(for: normal)!
sender.configuration!.text!
also works.
Also changing the button style from plain to default may solve the problem.
It is better here to use a guard.
Topic:
Programming Languages
SubTopic:
Swift
Tags: