title: Camera show black screen in ios 8
body: <p>This code for capturing image one by one from camera,but after taking one image next time camera will open but with black screen(like it,s shutter close).all other ios version its working,but not working in ios 8.please tell me how can i solve it?</p>
  
  <pre><code>-(void)openCamera
   {
     if(![PickerHandler doesDeviceSupportMediaType:ITEM_TYPE_PHOTO])
     {
      [PickerHandler showNoDeviceSupportWarningForMediaType:ITEM_TYPE_PHOTO withDelegate:self];
     }
     else 
     {
      UIImagePickerController *picker = [[UIImagePickerController alloc] init];
      picker.delegate = self;
      picker.sourceType = UIImagePickerControllerSourceTypeCamera;
  
      picker.mediaTypes = [NSArray arrayWithObject:(NSString *)kUTTypeImage];
      [self presentViewController:picker animated:YES completion:nil];
     }
  
   }
  </code></pre>