Empty albums in UIImagePickerController
| Originator: | eugene | ||
| Number: | rdar://21444950 | Date Originated: | 2015-06-18 |
| Status: | Closed | Resolved: | 2015-09-16 |
| Product: | iOS-SDK | Product Version: | |
| Classification: | Reproducible: | Always |
Summary:
When presenting UIImagePicker to select a movie from photo gallery, it shows albums that do not contain any movies and their description is misleading
Steps to Reproduce:
1. Create a simple app that presents an image picker for selecting a movie from photo gallery
Sample code:
let pickerVC = UIImagePickerController()
pickerVC.sourceType = UIImagePickerControllerSourceType.PhotoLibrary
pickerVC.mediaTypes = [kUTTypeMovie as String]
self.presentViewController(pickerVC, animated: true, completion: nil)
2. Run application on the device that has albums without movies
Expected Results:
Albums that do not contain only movies are not listed at all.
Each list item displays
- a preview of contained movie(s)
- album name
- amount of contained movies
Actual Results:
All albums are shown
Album description shows the total (movies + images) number of items in the album
Album preview displays previews of contained images (not movies)
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!
Resolved in iOS9