Questions tagged [uti]

A 'Uniform Type Identifier' (UTI) is a string value used to identify abstract and specific types of item. It uses a reverse-DNS syntax, and is used extensively by Apple for determining types of data files. UTIs exist in an inheritance-based structure, allowing data types to be organised hierarchically. Apple maintains a list of public UTIs, and allows the creation of private, or 'third-party' UTIs.

A 'Uniform Type Identifier' (UTI) is a string value used to identify abstract and specific types of item. It uses a reverse-DNS syntax, and is used extensively by Apple for determining types of data files.

UTIs exist in an inheritance-based structure, allowing data types to be organised hierarchically, and referenced as a more abstract type (e.g. public.image) or more specifically (e.g. public.jpeg).

Apple maintains a list of public UTIs, and allows the creation of private, or 'third-party' UTIs.

217 questions
6
votes
1 answer

How to configure .app files in the UTIs section with Xcode 11?

I'm working on an app in which at some point I need to import once at a time several different kind of binary and ascii files, with different extensions, such as .bin, .app, .crc, etc. In order to enable this, I prepared in the project target, in…
Salva
  • 707
  • 2
  • 9
  • 18
6
votes
1 answer

iOS custom UTI/filetype with UIDocumentPickerViewController

I've got a custom filetype that I'm trying to allow my app to open from a UIDocumentPickerViewController. It isn't, however, working. (A similar situation and problem seem to be described here, but there's no working solution.) In my Info.plist I've…
KT_
  • 978
  • 11
  • 26
6
votes
1 answer

Creating custom UTI for use with airdrop, iOS

I am using this code in my info.plist: CFBundleDocumentTypes CFBundleTypeName AirDrop Profile File Type LSHandlerRank Default
ZiEiTiA
  • 275
  • 2
  • 16
6
votes
0 answers

Register to support location document type in iOS app

I am trying to find out the LSItemContentTypes to be have a location in the maps app share to my app. As an example of what I require is: searching for a location in maps tapping on the pin tap on the info button Share in the top right This only…
Damien Pontifex
  • 1,222
  • 1
  • 15
  • 27
6
votes
2 answers

iOS: error when sending application-specific file to Dropbox using UIDocumentInteractionController

I am working on an iOS application that allows exporting its data by emailing a file. The app registers the file-type as a file having the extension 'sainputs' (this is so that the app can also open a file from an email or dropbox for importing the…
bgh
  • 1,986
  • 1
  • 27
  • 36
6
votes
2 answers

Importing pfx file into iOS application

I'm working on an iOS (iPhone/iPad) app that does a web service call where one of the parameters is a .pfx file. I would like for the user to be able to import his own .pfx file into the app by selecting its attachment in an email (the app already…
bgh
  • 1,986
  • 1
  • 27
  • 36
5
votes
1 answer

Phonegap / iPad -- UTI's - Doc types... what to do with incoming URL

I want to import and export CSV's. I have figured out how to get the iPad to recognize my app as one that opens CSV files. From there though I am lost. I have found explanations on how the iPad sends in my file via…
Todd Vance
  • 4,627
  • 7
  • 46
  • 66
5
votes
2 answers

Custom UTI Not opening in App

I am trying to create a new document UTI for my App so that people can share points of interest with others. From what I can understand on SO, Tutorials, and from Apple's documentation, you need to do the following: Create a Document Type in the…
Kivak Wolf
  • 830
  • 8
  • 29
5
votes
1 answer

UTI's and File Extension associations

In my application, I wanted to include a QuickLook plugin that reads a non-system extension other applications also use (let's use RAR for this example). I declare the extension as an Exported UTI in my app bundle's Info.plist like…
Dov
  • 15,530
  • 13
  • 76
  • 177
5
votes
2 answers

Get UTI of NSPasteboardTypeFileURL

NSFilenamesPboardType got deprecated on 10.14 and the suggestion is to use NSPasteboardTypeFileURL. This gives me filename as file:///.file/id=6571367.12885025918 and NSWorkspace is unable to get UTI out of it. How to get UTI from…
Marek H
  • 5,173
  • 3
  • 31
  • 42
5
votes
2 answers

UIDocumentInteractionController share via Instagram (and ONLY Instagram)

When I use UIDocumentInteractionController to allow users to share via Instagram, it does work, it brings up the option for "open with" and "Instagram" as one of the options... the problem is that it also displays many other apps like "Facebook" and…
Albert Renshaw
  • 17,282
  • 18
  • 107
  • 195
5
votes
3 answers

Show Icons for Custom UTIs in UIDocumentPickerViewController

The iOS app I'm working on exports a UTI. The relevant parts of the Info.plist look like this: UTExportedTypeDeclarations UTTypeConformsTo public.xml
hagi
  • 11,503
  • 3
  • 35
  • 48
5
votes
1 answer

Recognizing iOS file packages (in Simulator and Finder)

I am trying to use file packages for an iOS app be defining an UTI type. After googling and looking at the entries in Xcode.plist, I tried a few things but kept running into problems. My app creates a few test documents and then tries to read those…
user965972
  • 2,489
  • 2
  • 23
  • 39
5
votes
1 answer

Exported UTI for package/bundle

My Cocoa document-based app opens and writes custom packages/bundles. Is this considered a proprietary format that needs to be exported via Exported UTIs (UTExportedTypeDeclarations)? If so, what should be the values for: Conforms To…
hpique
  • 119,096
  • 131
  • 338
  • 476
4
votes
1 answer

Finder doesn't recognize custom UTI

I was trying to create a custom UTI for my non-document-based application. I have already been reading the Apple documents and several SO questions, but none seems to be addressing my issue. I created a new UTI in XCode 4 ( "Target" --> "Exported…
guitarflow
  • 2,930
  • 25
  • 38
1 2
3
14 15