title: not able to retrieve the photos from photo library in ipad device
body: <p>I am retrieving photos from photo library using ELCImagePickerController . That works fine in the ipad simulator that shows photos from photo library. But it does not work on iPad device .</p>
  
  <p>That shows an failure error means there are no photos , even though device has photos.</p>
  
  <p>i used the following</p>
  
  <pre><code>ALAssetsLibrary *library = [[ALAssetsLibrary alloc] init];        
  [library enumerateGroupsWithTypes:ALAssetsGroupAll
                         usingBlock:assetGroupEnumerator 
                       failureBlock:assetGroupEnumberatorFailure];
  </code></pre>
  
  <p>works for simulator , but not for ipad device.</p>
  
  <p>can anybody reply , what's the problem there.</p>
  
  <p>Thanks in advance.</p>