UIImagePickerController allowsEditing should be configurable via mediaType
Originator: | marcelofabri.mf | ||
Number: | rdar://43400402 | Date Originated: | 16-Aug-2018 04:05 PM |
Status: | Open | Resolved: | |
Product: | iOS + SDK | Product Version: | 12.0 |
Classification: | Feature (New) | Reproducible: | Always |
Summary: We want to set allowsEditing = true if mediaType == video, but disable it if it’s an image when picking media from library. This is because we want to use the videoMaximumDuration property, which only works if allowsEditing == false. Steps to Reproduce: 1. Try to find a delegate that enables that 2. Try to find a property that finds that Expected Results: You can customize the behavior based on the selected mediaType Actual Results: You’re sad and you need to implement your own picker, which is bad for privacy reasons as you have to ask for permission to read the whole library. Version: 12.0 Notes: https://stackoverflow.com/questions/27223175/how-to-set-allowsediting-for-uiimagepickercontroller-only-for-videos-selected-fr provides an example of someone wanting to do this.
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!