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

2

26

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

Spurry answered 28/9, 2021 at 6:24 Comment(2)
See this topic. #69376084Myocardiograph
both are same, the issue occurs when the deployment target is less than 15.0Spurry
H
21

Change the button style from plain to default.

enter image description here

Horn answered 20/5, 2022 at 10:1 Comment(1)
Keep the button type to custom if you don't want to change image color to system(blue)Benavidez
R
49

Change the button style to "Default" For more details

Runaway answered 6/10, 2021 at 5:10 Comment(2)
The default button style isn't Default. Love itLegislator
If you're using an image without text, eg the system mic image, changing to default completely squashes the image. :(Constable
H
21

Change the button style from plain to default.

enter image description here

Horn answered 20/5, 2022 at 10:1 Comment(1)
Keep the button type to custom if you don't want to change image color to system(blue)Benavidez

© 2022 - 2025 — McMap. All rights reserved.