I know that I can get UTType for this extension using UTTypeCreatePreferredIdentifierForTag (kUTTagClassFilenameExtension, extension, NULL), but I can not find a way to do the opposite, that is, an array of extensions for this UT ... What can I do?
thanks
UTTypeCopyPreferredTagWithClass used to convert the UTI to another tag, for example file extensions:
UTTypeCopyPreferredTagWithClass
NSString *extension = (__bridge_transfer NSString *)UTTypeCopyPreferredTagWithClass(myUTI, kUTTagClassFilenameExtension);
Source: https://habr.com/ru/post/915425/More articles:Node.js / npm - anyway, to find out if the package is pure JS or not? - javascriptspring @Transactional JDBC Template MySQL DB does not roll back - spring-aopUsing the REST REST API, how can I get the non-API (website) URL for user history? - rallyDjango haystack, priority for some search fields - djangoFiltering collections versus multiple collections in Backbone? - backbone.jsCreating two LinearLayouts has 50% of the screen without using layout_weight - androidContactsContract how to list all available fields? - androidHow can I verify that a webpage returns 404/500 using PhantomJS? - javascriptChange background color ActionBarSherlock programmatically - androidHow the kernel determines the sequence of __init calls - linux-kernelAll Articles