title: Get URLs value from the path of ALAsset Library
body: <p>I have a NSMutableArray where i get this value of images.</p>
  
  <pre><code> &lt;__NSArrayM 0x14259390&gt;(ALAsset - Type:Photo, URLs:assets-library://asset/asset.JPG?id=6C7406FE-D0A8-4625-ABBA-1C2D758E0B54&amp;ext=JPG)
  </code></pre>
  
  <p>Now I have to get <code>assets-library://asset/asset.JPG?id=6C7406FE-D0A8-4625-ABBA-1C2D758E0B54&amp;ext=JPG</code> this URL value from this String.And I am doing this piece of code</p>
  
  <pre><code> for (int i = 0; i &lt; self.selectedPhotos.count; i++) {
  
      NSString *object = [self.selectedPhotos objectAtIndex:i] ;
  
      NSArray *details = [object componentsSeparatedByString:@"URLs"];
  
      self.msg = [details lastObject];
  
  }
  </code></pre>
  
  <p>But in details array i am getting this error <code>*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[ALAsset componentsSeparatedByString:]: unrecognized selector sent to instance 0x1ba93f20'</code><br>
  Can anyone give me solution please How can i get this URL from this whole path.
  Thanks a Lot.</p>