title: UIImageWriteToSavedPhotosAlbum not work in iPad with XCode 7.2
body: <p>i'm using this function to save image in Album : </p>
  
  <pre><code>UIImageWriteToSavedPhotosAlbum([UIImage imageNamed:@"Icon-29.png"], self,@selector(thisImage:hasBeenSavedInPhotoAlbumWithError:usingContextInfo:) , nil);
  </code></pre>
  
  <p>it's work other project but not work in my application and give me error : </p>
  
  <blockquote>
    <p>Error Domain=ALAssetsLibraryErrorDomain Code=-3310 "Data unavailable"
    UserInfo={NSLocalizedRecoverySuggestion=Launch the Photos application,
    NSUnderlyingError=0x14dcec40 {Error Domain=ALAssetsLibraryErrorDomain
    Code=-3310 "Data unavailable"
    UserInfo={NSLocalizedRecoverySuggestion=Launch the Photos application,
    NSUnderlyingError=0x1ab52eb0 {Error Domain=com.apple.photos Code=-3001
    "(null)"}, NSLocalizedDescription=Data unavailable}},
    NSLocalizedDescription=Data unavailable}</p>
  </blockquote>
  
  <p>And also app in not in <code>Photos</code> section in <code>Setting</code> : 
   Settings -> Privacy -> Photos.</p>
  
  <p>But not work in my application.</p>
  
  <p><strong>EDIT :</strong></p>
  
  <p>Getting Same error using <code>PHPhotoLibrary</code>  </p>
  
  <pre><code>          [[PHPhotoLibrary sharedPhotoLibrary] performChanges:^{
                  PHAssetChangeRequest *changeRequest = [PHAssetChangeRequest creationRequestForAssetFromImage:[UIImage imageNamed:@"Icon-29.png"]];
              } completionHandler:^(BOOL success, NSError *error) {
                  if (success) {
  
                  }
                  else {
  
                  }
              }];
  </code></pre>
  
  <p>Error :</p>
  
  <pre><code>Error Domain=NSCocoaErrorDomain Code=2047 "Photos Access not allowed (authorization status 0)" UserInfo={NSLocalizedDescription=Photos Access not allowed (authorization status 0)}
  </code></pre>
  
  <p>When i create new project than it working fine, but not in my app !
  I also change bundle id to create new app in device, and also reset setting for permission.</p>