iphone - Xcode deosn't detect a framework -
i have added alassetslibrary framework project , reason xcode doesnt detect it.
i have no code completion, , xcode gives warning , crashes when use following code
alassetslibrary *library = [[alassetslibrary alloc] init]; [library enumerategroupwithtypes:alassetsgroupalbum usingblock:assetgroupenumerator failureblock:^(nserror *error){ nslog(@"a problem occured"); }];
it doesnt detect alassetslibrary , warning leads crash
warning: 'alassetslibrary' may not respond '-enumerategroupwithtypes:usingblock:failureblock:'
why isnt xcode detecting framework?
i have added project imported it.
i appreciate this, dont understand did wrong. thanks
first, you're importing assetslibrary.h, sure refers class alassetslibrary , alassetsgroupalbum?
second, i'm not sure failing find problem, imagine there different error in case, such as, class not defined, first use in function.
it's saying unrecognized selector, means there might problem pointers.
Comments
Post a Comment