alassetsgroup

ALAssetsLibrary invalid or null

☆樱花仙子☆ 提交于 2019-12-24 11:37:57
问题 I get the following error message : invalid attempt to access <ALAssetPrivate: 0xa4a1ed0> past the lifetime of its owning ALAssetsLibrary when I try to create custom Image Picker. I used this APPLE sample to create this app. The sample Apple app works perfectly. But when I copied that sample code to my app it get the above error message. Please can someone help me why this error comes & ALAssetsGroup become null. 回答1: I found the answer for this problem. The problem is my ALAssetsLibrary I

How to get all photos moment wise using ALAssetLibrary in ios7?

烈酒焚心 提交于 2019-12-01 23:41:10
问题 I have problem to get photos in moment wise like apple iphone have in ios8. I have implemented for ios8 using PHAsset and Photos.framework. Now, when i run same code in ios7 device then it returns nothing. So, i go with ALAssetLibrary to get photos. Using ALAssetLibrary i also got all photos but that are like albums wise photos. and also using this ALAssetLibrary i cannot get album creation date not its location name, as i have to show this to data on my each section's header. My code for

How to get all photos moment wise using ALAssetLibrary in ios7?

强颜欢笑 提交于 2019-12-01 22:31:56
I have problem to get photos in moment wise like apple iphone have in ios8. I have implemented for ios8 using PHAsset and Photos.framework. Now, when i run same code in ios7 device then it returns nothing. So, i go with ALAssetLibrary to get photos. Using ALAssetLibrary i also got all photos but that are like albums wise photos. and also using this ALAssetLibrary i cannot get album creation date not its location name, as i have to show this to data on my each section's header. My code for fetching photos in ios7 using ALAssetLibrary: _imagearray = [@[] mutableCopy]; __block NSMutableArray