If you encountered default titles on your UIButton when using setImage() like my situation below.
As you can see on the screenshot below, I removed the title. So everything should be alright.
![](https://lwgmnz.me/files/2021/07/screen-shot-2021-07-27-at-12.18.55-pm.png)
And when I run it on my iOS 15 device.
![](https://lwgmnz.me/files/2021/07/screen-shot-2021-07-27-at-12.20.28-pm.png)
What the. Anyway, solution is simple. On your UIButton’s Atrribute inspector, set the style to default and remove the default Button title.
![](https://lwgmnz.me/files/2021/07/screen-shot-2021-07-27-at-12.27.54-pm.png)
Let me know if you have any questions.