title: Inactive part of the screen on fullscreen
body: <p>I'm trying to put a picture on fullscreen with buttons on to do actions.</p>
  <p>Here is a screenshot of my result:</p>
  <p><img src="https://i.stack.imgur.com/BM2Qr.png" alt="Screenshot" /></p>
  <p>My problem is that the buttons on the first line (the highest) are not touchable.
  It seems to have no action on the top layout.</p>
  <p>Here is my code:</p>
  <pre><code>- (void)showActionsForGlobalFullScreen:(UIGestureRecognizer *)gestureRecognizer {  
          //LEFT
          UIImage* cancelImage = [UIImage imageNamed:@&quot;cancel.png&quot;];
          CGRect frameimg = CGRectMake(3, 3, cancelImage.size.width, cancelImage.size.height);
          UIButton *cancelButton = [[UIButton alloc] initWithFrame:frameimg];
          
          UIImage* flagImage = [UIImage imageNamed:@&quot;flag.png&quot;];
          CGRect frameimg2 = CGRectMake(3, 40, flagImage.size.width, flagImage.size.height);
          UIButton *flagButton = [[UIButton alloc] initWithFrame:frameimg2];
          
          [cancelButton addTarget:self action:@selector(closeFullView:) forControlEvents:UIControlEventAllTouchEvents];
          [cancelButton setBackgroundImage:cancelImage forState:UIControlStateNormal];
          
          [flagButton addTarget:self action:@selector(displayFlag:) forControlEvents:UIControlEventAllTouchEvents];
          [flagButton setBackgroundImage:flagImage forState:UIControlStateNormal];
          
          //RIGHT
          UIImage *exitFullScreenImage = [UIImage imageNamed:@&quot;exitFullScreen.png&quot;];
          CGRect frameimg3 = CGRectMake(fullScreenViewFromVC.frame.size.width - 25 , 3, exitFullScreenImage.size.width, exitFullScreenImage.size.height);
          UIButton *exitFullScreenButton = [[UIButton alloc] initWithFrame:frameimg3];
          
          UIImage *commentImage = [UIImage imageNamed:@&quot;comment.png&quot;];
          CGRect frameimg4 = CGRectMake(fullScreenViewFromVC.frame.size.width - 25 , 40, commentImage.size.width, commentImage.size.height);
          UIButton *commentButton = [[UIButton alloc] initWithFrame:frameimg4];
          
          [exitFullScreenButton addTarget:self action:@selector(exitFullScreenPhoto:) forControlEvents:UIControlEventAllTouchEvents];
          [exitFullScreenButton setBackgroundImage:exitFullScreenImage forState:UIControlStateNormal];
      
          [commentButton addTarget:self action:@selector(diplayComments:) forControlEvents:UIControlEventAllTouchEvents];
          [commentButton setBackgroundImage:commentImage forState:UIControlStateNormal];
          
          //[actionsView addSubview:flagButton];
          [fullScreenViewFromVC addSubview:cancelButton];
          [fullScreenViewFromVC addSubview:flagButton];
          [fullScreenViewFromVC addSubview:exitFullScreenButton];
          [fullScreenViewFromVC addSubview:commentButton];   
  }
  </code></pre>
  <p><strong>Important note:</strong>
  <code>fullScreenViewFromVC</code> is an own class extending <code>UIView</code> and instantiated on my controller.
  Basically I'm called the fullscreen method from a picture on a <code>UITableViewCell</code>
  I'm using this <code>fullScreenViewFromVC</code> variable to store my data from the current selected cell to my controller.</p>
  <p>Thank you for your help.</p>