I’ve recently been building an app under iOS 15 (latest as of writing this code), and when I shipped a version of my app to test flight, one of my users sent me a video of the app working, and I noticed, all of my buttons have this strange background highlight effect. Is this some sort of accessibility mode? I’ve never seen this happen before. In included some screenshots below and the interface builder, there are no custom classes associated to this UIButton. And ALL of the buttons have this effect happening to them.
This other device has a strange background color attached:
But this is how its designed and how it shows up on my device and the simulator:
2
Answers
Turns out my user had something in iOS accessibility settings turned on, called "Button Shapes". I had no idea...
I had a similar problem.
Change the style to
default
.And then instead of the
tint color
, choose thetext color
.The background can remain
default
.. and is therefore transparency.Tested, works.
Example