Hi ,
I have a issue with enumerationblock , when i try to access the vidoes and audios from the phone using iPhone OS 4.0, i found the following api from the class AssetsLibrary
Invokes a given block passing as a parameter each of the asset groups that match the given asset group type.
- (void)enumerateGroupsWithTypes:(ALAssetsGroupType)types
usingBlock:(ALAssetsLibraryGroupsEnumerationResultsBlock)enumerationBlock
failureBlock:(ALAssetsLibraryAccessFailureBlock)failureBlock
The signature for the ALAssetsLibraryGroupsEnumerationResultsBlock is given as follows :
typedef void (^ALAssetsLibraryGroupsEnumerationResultsBlock)(ALAssetsGroup *group, BOOL *stop);
SO how can i create a ALAssetsLibraryGroupsEnumerationResultsBlock for passing as a parameter for the above method ..
Any help will be greatly appreciated.
Best Regards, Mohammed Sadiq....