title: make iOS plugin to open camera and photo gallery from unity
body: <p>I have game in unity and I want to let the user change the background from camera or photo gallery in IOS, I know that I have to make library in objective c , and I know how to open the camera or photo gallery in objective c using this code</p>
  
  <pre><code>-(void)getImage{
  
      UIImagePickerController *imagePickerController = [[UIImagePickerController alloc]init];
      imagePickerController.delegate = self;
      imagePickerController.sourceType =  UIImagePickerControllerCameraCaptureModePhoto;
      [self presentViewController:imagePickerController animated:YES completion:nil];
  
  }
  
  
  - (void) imagePickerControllerDidCancel:(UIImagePickerController *) picker {
  
      [picker dismissViewControllerAnimated:YES completion:^{}];
  }
  
  - (void)imagePickerController : (UIImagePickerController *) picker didFinishPickingImage:(UIImage *)imageProfile editingInfo:(NSDictionary *) editingInfo
  {
  
      [picker dismissModalViewControllerAnimated:YES];
  
  }
  </code></pre>
  
  <p>but how to use this code in objective c library</p>