Iphone - How to enable application access to media on the device? - ALAssetsLibraryErrorDomain Code=-3312 “Global denied access”

OK, so I have had this problem before and solved it unknowingly and now it is reoccurring!

"error: 
 Error Domain=ALAssetsLibraryErrorDomain Code=-3312 "Global denied access" UserInfo=0x169aa0 
 {NSLocalizedFailureReason=The user has denied all applications access to their media., 
 NSLocalizedRecoverySuggestion=This setting can be changed in Preferences., 
 NSLocalizedDescription=Global denied access}"

Please NOTE://I do not get this issue in the simulator - my code for iterating assets works perfectly on the simulator.

Surely this is an easy fix but be damned if I can find anything under 'Preferences' anywhere that assists.

Please halp!

8
задан Lance 24 August 2010 в 22:00
поделиться