mastodon-ios
mastodon-ios copied to clipboard
Replace deprecated `AVAsset.tracks(withMediaType:)`
This PR replaces deprecated AVAsset.tracks(withMediaType:)
to resolve the following warning:
'tracks(withMediaType:)' was deprecated in iOS 16.0: Use loadTracks(withMediaType:) instead
https://developer.apple.com/documentation/avfoundation/avasset/1387140-tracks