UTI deprecated?

here:

https://developer.apple.com/documentation/mobilecoreservices/uttype

i can see everything related to universal type identifiers (UTI) is deprecated. what shall i use instead?

the task at hand is to determine whether a particular content-type (aka mime type) is image or video, etc with comparing mime strings with some table of my own.

Hi yetanotherme! This API has been marked API_TO_BE_DEPRECATED because we've introduced an Objective-C and Swift replacement API, the UniformTypeIdentifiers framework.
UTI deprecated?
 
 
Q