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:'

enter image description here

why isnt xcode detecting framework?

i have added project imported it.

enter image description here

enter image description here

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

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -