is it possible to change the image of a button UPON the UP?

Each and every time I find a post about this everyone instantly runs to explain how to show the default or the highlighted.

Is there really no way to have a button toggle between two images once you've pressed and removed said finger?

If it's done in the attributes pane I can't find the combination.

Every time I find code to try it's got syntactical problems that don't seem to be current with Xcode 11.5/Swift

The state of the image will dictate some other things (i.e., a setting).

Need I just make a transparent button that sits atop an image view and make the changes that way?

I'm taking two online courses (iOS/Swift and a swift-only) and the response times to questions is slower than Congress.

Thanks for taking a moment.

have a button toggle between two images once you've pressed and removed said finger?

So you want the image to change when you have pressed and released finger or press and move away ?

Did you try to implement image change in the handlers for Touch Drag Inside or Touch Drag Outside ?

Could you show the code you tried ? And explain what you get.
is it possible to change the image of a button UPON the UP?
 
 
Q