1

How do you set the image for highlighted state in UIButton from inspector in Xcode 13? "State config" is gone and older answer UIButton: set image for selected-highlighted state no longer applies :-[

Anton Tropashko
  • 5,486
  • 5
  • 41
  • 66
  • 1
    It applies if you make this a Default button. If you use a Plain button then you have to use its configuration property. See https://stackoverflow.com/questions/69439301/uibutton-image-behavior-changed-in-ios-15 – matt Jul 04 '22 at 10:53
  • That was it. Thanks a bunch. The dup you have provided in the reference did not appear in my search. Maybe you can tweak the keywords so that it would instead of leading new flocks of lemmings to my newly closed question instead. – Anton Tropashko Jul 04 '22 at 10:56

0 Answers0