It looks like UIKit’s document picker and browser use UTTypeCreatePreferredIdentifierForTag
. It’s behaviour is documented as being undefined, so some random type wins.
Audit your code! Use UTTypeCreateAllIdentifiersForTag
instead to handle all possibilities. twitter.com/brentsimmons/status/1219429196583272452