title: Apps must follow the iOS Data Storage Guidelines or they will be rejected
body: <p>i have developed an app that can download mp3 files (nearly 6 to 8 mb of size) from online and stored in NSDocumentDirectory. my app get rejected today and says that </p>
  
  <pre><code>"Apps must follow the iOS Data Storage Guidelines or they will be rejected"
  
  
   We found that your app does not follow the iOS Data Storage Guidelines, which is
   required per the App Store Review Guidelines. The iOS Data Storage Guidelines 
   indicate that only content that the user creates using your app, e.g., documents,
   new files, edits, etc., may be stored in the /Documents directory - and backed up
   by iCloud. 
  
   Temporary files used by your app should only be stored in the /tmp directory; 
   please remember to delete the files stored in this location when the user exits 
   the app. "
  </code></pre>
  
  <p>i used to store the music files in NSDocumentDirectory .
  so, this is the first time am doing this, i cant figure out the actual problem. what should i do to resubmit my app for acception. </p>
  
  <p>here is my code </p>
  
  <pre><code> NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES);
  
  
  
   NSString *documentsDirectoryPath = [[paths objectAtIndex:0]stringByAppendingPathComponent:[NSString stringWithFormat:@"psalmsMusic%d.mp3",i]];
  NSLog(@"ddddddd psalmsMusic%d.mp3",i);
  i++;
  
  
   NSLog(@"path %@",documentsDirectoryPath);
   [receivedData writeToFile:documentsDirectoryPath atomically:YES];
  </code></pre>
  
  <p>really need some help.</p>