Hello community, is there any way to hide an UIButton until the UIImageView is pressed?? When the picture is pressed I need to show the back Button, like it works at the Photo App on the iPhone??? Here is the code of my UIButton:
- (void)viewDidLoad {
[super viewDidLoad];
[self ladeImage];
UIButton *btn = [UIButton buttonWithType:UIButtonTypeRoundedRect];
btn.frame = CGRectMake(10, 10, 40, 40);
[btn addTarget:self action:@selector(goToViewA) forControlEvents:UIControlEventTouchUpInside];
[btn setTitle:@"<<" forState:UIControlStateNormal];
[self.view addSubview:btn];
}