I do exactly the following in sequence:
- I create a new iOS project with Objective C in XCODE 10.1
- I have 1 UIImageView with a default image
- I then add 1 UIButton (called testbutton) where it overlays the imageview
- When I click the UIButton it successfully goes to a method where I perform:
testbutton.hidden = TRUE;
When the method is called successfully I use the debugger to make sure this line is called as well.
The UIButton called testbutton label goes from BLACK to a GREY so it is truly not hidden.
This seems too simple....
How do I hide the UIButton when it is over the UIImageView?