3 Replies
      Latest reply on Dec 27, 2018 9:43 AM by KMT
      GreekScorpion Level 1 Level 1 (0 points)

        I do exactly the following in sequence:

        1. I create a new iOS project with Objective C in XCODE 10.1
        2. I have 1 UIImageView with a default image
        3. I then add 1 UIButton (called testbutton) where it overlays the imageview
        4. 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?