Open singer1026 opened 8 years ago
@singer1026, that strange. Call you illustrate how you import those photos which only shows in "Photos" tab?
Sorry about that! The ipad is not mine. I don't know he how to operate.
iOS version:8.0.2
In Photos.app
img1:
img2:
code:
- (void)pickAssets:(id)sender
{
[PHPhotoLibrary requestAuthorization:^(PHAuthorizationStatus status){
dispatch_async(dispatch_get_main_queue(), ^{
// init picker
CTAssetsPickerController *picker = [[CTAssetsPickerController alloc] init];
// set delegate
picker.delegate = self;
// to show selection order
picker.showsSelectionIndex = YES;
picker.showsEmptyAlbums = NO;
// to present picker as a form sheet in iPad
if (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad)
picker.modalPresentationStyle = UIModalPresentationFormSheet;
// present picker
[self presentViewController:picker animated:YES completion:nil];
});
}];
}
album repeat
I can't find pictures on the albums
So I change your code. remove smart album and add special collection albums named "All Photos"
finally ! I can find all photos in "All Photos"
img3:
Sorry, development of this project is suspended. Please read the home page.
I have some images ,its not in any PHCollection. CTAssetsPickerController can't find that images
in Photos.app , i can see it in Photo tabbar but i can't see those images in Albums tabbar.
I use AssetsLibrary to read it,the operation success
Can you add a collection named "All"?