Create an outlet to your UIImageView
called myImageView and an action for your UIButton
called myButtonHit.
-(IBAction)myButtonHit:(id)sender {
self.myImageView.hidden = !self.myImageView.hidden;
}
solved Objective C / Xcode [closed]
Create an outlet to your UIImageView
called myImageView and an action for your UIButton
called myButtonHit.
-(IBAction)myButtonHit:(id)sender {
self.myImageView.hidden = !self.myImageView.hidden;
}
solved Objective C / Xcode [closed]