How to get Original Image and media type from PHAsset?
<p>My <code>**GMImagePickerController**</code> returns the list of selected images from photos app.</p>

<p>The code are as follows.</p>

<pre><code>  - (void)assetsPickerController:(GMImagePickerController *)picker  didFinishPickingAssets:(NSArray *)assetArray
     {
        NSLog(@"%@",assetArray);
        NSLog(@"GMImagePicker: User ended picking assets. Number of selected items is: %lu", (unsigned long)assetArray.count);
  }
</code></pre>

<p>The assetArray return result like this, I selected 3 images from photos app</p>

<pre><code> (
"&lt;PHAsset: 0x7fa39e02e840&gt; 1AEEF04A-F8AB-4019-AAB5- 2875CFD8F8E3/L0/001 mediaType=1/0, sourceType=1, (425x425), creationDate=2016-02-03 13:53:17 +0000, location=0, hidden=0, favorite=0 ",
"&lt;PHAsset: 0x7fa39e02c840&gt; 50489C13-55D0-4518-B290-B01B99D66996/L0/001 mediaType=1/0, sourceType=1, (425x335), creationDate=2016-02-03 13:53:08 +0000, location=0, hidden=0, favorite=0 ",
"&lt;PHAsset: 0x7fa39e02c750&gt; D0A466B2-9CF2-4FD9-A12F-07921A1D0E8F/L0/001 mediaType=1/0, sourceType=1, (425x365), creationDate=2016-02-03 13:53:04 +0000, location=0, hidden=0, favorite=0 "
 )
</code></pre>

<p>Now the problem is I want to get <code>OriginalImage</code> and <code>mediaType</code> from above result to store image into document directory.
Please help me to solve this problem.</p>