
Originally Posted by
Fernando
in CRunkcpica.h you will find some lines explaining what to do
if you comment the #define line by adding // before this line
no photo library is needed (APO will work with images packed in the cci)
I have done this:
Code:
//#define USE_PHOTO_LIBRARY
It caused a lot of errors so I had to comment other things like this:
Code:
// if(imageSelector != nil)
// {
// [mainViewController dismissViewControllerAnimated:NO];
// imageSelector.delegate=nil;
// [imageSelector autorelease];
// imageSelector = nil;
// }
// if(popOverController != nil)
// {
// [popOverController dismissPopoverAnimated:NO];
// popOverController.delegate = nil;
// [popOverController autorelease];
// popOverController = nil;
// }
if(renderToTexture != nil)
{
[renderToTexture release];
}
I still got this error:
Code:
This app has crashed because it attempted to access privacy-sensitive data without a usage description. The app's Info.plist must contain an NSPhotoLibraryUsageDescription key with a string value explaining to the user how the app uses this data.
Any ideas how to fix this? I want to use the active pic object using URL without having to show the "photo library usage permission"