An app I am building needs functionality to share video. I have successfully implemented a UIActivityViewController for this, with a custom UIActivityItemProvider to dynamically generate the video output.
However, I would like the user to be able to select an output quality for the video as well. I would like the flow to be:
- User taps share button UIActivityViewController appears
- User taps desired activity
- Options for video quality are presented
- User taps desired quality
- UIActivityItemProvider generates video at desired quality
- Video is shared to selected service
However I don't see any options to hook items 3 and 4 into the flow. Any suggestions would be much appreciated.