title: How to Skip Retake/Use Photo option after capturing image by camera in IOS 7
body: <p>Here I am developing an app using IOS 7 in which camera used to capture the image. but after capturing image it displaying Retake/Use Photo options. i want that after capturing image it directly go to next screen without showing default Retake?use Photo Options.I google out this Issue but I don't get proper solution. Please help me to solve this issue.</p>
  
  <p>Thanks in advance.</p>
  
  <p>Here is the code snippet that i am using in my project</p>
  
  <p><img src="https://i.stack.imgur.com/j0lO7.jpg" alt="enter image description here"></p>
  
  <pre><code>-(void)StartCamera
  
  {
  
  if (![UIImagePickerController isSourceTypeAvailable:UIImagePickerControllerSourceTypeCamera])
  
  {  
  
    UIAlertView *myAlertView = [[UIAlertView alloc] initWithTitle:@"Error"           message:@"Device has no camera" delegate:nil cancelButtonTitle:@"OK" otherButtonTitles: nil];
  
      [myAlertView show];
  }
  else
  { 
      picker = [[UIImagePickerController alloc] init];
      picker.delegate = self;
      picker.allowsEditing = NO;
      picker.sourceType = UIImagePickerControllerSourceTypeCamera;
      [self presentViewController:picker animated:YES completion:NULL];
  }
  }
  </code></pre>