title: How to make an image go fullscreen in iOS app
body: <p>I'm a newbie to xcode and objective c, and I'm wondering how to make an image go fullscreen on touch, using a tap gesture...
  Can anyone help me?</p>
  
  <p>Here's the code I've tried:</p>
  
  <pre><code>- (void)viewDidLoad
  {
  [super viewDidLoad];
  // Do any additional setup after loading the view.
  
  UITapGestureRecognizer *tap = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(handleTap:)];
  tap.numberOfTapsRequired = 1;
  tap.cancelsTouchesInView = NO;
  imageView.userInteractionEnabled = YES;
  [imageView addGestureRecognizer:tap];
  }
  
  -(void)handleTap{
  imageView.frame=CGRectMake(0,0,320,480);
  
  }
  </code></pre>