Language
Force Trim - Fixed Length Video
If you configured the trim tool to restrict the duration of the video by setting a minimum and/or maximum duration you can define the startup behavior of the VideoEditViewController as follows:
- the composition or trim tool will always automatically be presented after opening for the user to review and adjust the length of the video.
This corresponds to setting
forceTrimModeto.alwaysand is the default behavior. forceTrimModeis set to.ifNeededas in our exmaple and will only present- the composition tool, if your initial composition is longer than
maximumDurationor shorter thanminimumDuration, or - the trim tool, if your initial video is longer than
maximumDuration.
- the composition tool, if your initial composition is longer than
- Setting
forceTrimModeto.silentwill automatically trim the video to the maximumDuration without opening any tool.