Akash S Arjun
Akash S Arjun

Reputation: 283

UIButton title "Button" is not cleared after removing it from the attribute inspector

I cleared the title from attribute inspector, but while running the app, text "Button" is displaying. UIButton Attribute inspector

Output:

enter image description here

I checked different scenarios and the issue occurs only if the deployment target is below 15.0

Is there any solution for this?.

Xcode Version: 13.0 Project deployment target: 13.4

Upvotes: 27

Views: 5871

Answers (2)

Azeem Usmani
Azeem Usmani

Reputation: 614

Change the button style from plain to default.

enter image description here

Upvotes: 23

Rahul John
Rahul John

Reputation: 508

Change the button style to "Default" For more details

Upvotes: 50

Related Questions