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
10
votes
4 answers

Get GMT Time in Milliseconds using JAVA

Possible Duplicate: Get GMT Time in Java I have taken the reference of the below 2 link : link1 link2 But I want the GMT date in milliseconds. Thanks In Advance.
mayur rahatekar
  • 4,410
  • 12
  • 37
  • 51
9
votes
2 answers

iOS Document/File type associations - wildcard UTI?

I have an app which is something of a generic file manager. I would like the "Open in..." functionality present in apps using QLPreviewController, UIDocumentInteractionController, etc to be able to send my app any filetype. I have created a…
SG1
  • 2,871
  • 1
  • 29
  • 41
9
votes
1 answer

A smart way to retrieve allowed file types from plist

Scenario: I like to define the allowed file types (content types) in the Info.plist file of my Cocoa application. Therefore, I added them like the following example shows. # Extract from Info.plist [...] CFBundleDocumentTypes
JJD
  • 50,076
  • 60
  • 203
  • 339
9
votes
2 answers

Why is my iCloud Drive AppFolder visible on MacOS, but disabled in iCloud Drive App on iOS?

I developed an iCloud Drive Export feature for my iOS App and it works. I can see the exported Documents in our public AppContainerFolder in the iCloud Drive folder on Mac OS X 10.11. But on iOS, I only can see the AppContainerFolder in the iCloud…
Bernd
  • 189
  • 9
9
votes
1 answer

Where do UTI come from?

I've read a lot of blog posts and SO-questions about Uniform Type Identifiers and how OS X handles file types. However, there are still some things I just don't get: How are UTIs created by the system for each file? As a developer I passively…
codingFriend1
  • 6,487
  • 6
  • 45
  • 67
9
votes
1 answer

How to register a custom non-document UTI / file type for OSX to recognize it?

I've read all the tickets about this issue, but I still don't get it right. I have a non-document OSX app (for OSX Lion and MountainLion). I want this app to export and import custom data, associated with a custom file extension ".iobs". Internally,…
onekiloparsec
  • 2,013
  • 21
  • 32
8
votes
1 answer

Exclusive iOS UTI

I'm trying to create / export an exclusive UTI type for my iOS app (very similar to how Instagram exclusively handles the UTI com.instagram.exclusivegram). Basically, I want com.photoapp.photo to be what an app can use if they want to be able to…
joshholat
  • 3,371
  • 9
  • 39
  • 48
7
votes
1 answer

UIDocumentInteractionController, No File Extension but UTI

How do I send a file to a different App knowing which UTI the App supports? Lets say the file has no file extension, but I happen to know the UTI of the file. I tried the following: // target is a NSURL with the location of the extension less file…
Jan
  • 183
  • 1
  • 8
7
votes
0 answers

Google drive showing custom UTI files dimmed in UIDocumentBrowserViewController controller

We have created custom UTI of the file type in XML format for our iOS app. It is working fine for all other cloud service provider except for google drive. We are using UIDocumentBrowserViewController and defined our custom UTI in the app.plist…
Pranjal
  • 101
  • 5
7
votes
2 answers

iOS open app when file is tapped in `Files` app

Some iOS apps with custom file types get launched automatically when a file of that type is tapped (for example, Pages gets launched if a pages file is tapped in the Files app). How can an iOS app which is the owner of a UTI get the same behavior?…
Hristo
  • 6,382
  • 4
  • 24
  • 38
7
votes
2 answers

How to send and receive custom data with AirDrop

I've been struggling with this for ages now as I can't find any detailed examples. In my app I have an array of custom data that I want to send to another user with the same app, via AirDrop. The first step is sending the data: @IBAction func…
Greg
  • 1,673
  • 4
  • 20
  • 27
7
votes
2 answers

Given a UTI (Uniform Type Identifier), find all types to which it conforms

I am writing an application that makes use of Uniform Type Identifiers. Specifically, I am calling UTTypeCreateAllIdentifiersForTag() and passing it various MIME types. My hope was that this function (as distinct from…
Aidan Steele
  • 10,999
  • 6
  • 38
  • 59
7
votes
2 answers

How can I make my app appear in UIActivityViewController for text?

I would like my app to appear in the UIActivityViewController for text, in other apps. For example, when sharing from the Notes app as shown below. Adding the following to the Info.plist didn't produce any visible results (in Notes, Evernote and…
hpique
  • 119,096
  • 131
  • 338
  • 476
7
votes
2 answers

Determine if image picker media type is video

I've seen various methods for checking whether the returned media type in -imagePickerController:didFinishPickingMediaWithInfo: is video. For example, my way: - (void)imagePickerController:(UIImagePickerController…
nevan king
  • 112,709
  • 45
  • 203
  • 241
6
votes
2 answers

How to tell (programmatically) if there are / are not any registered apps that support opening a specific document type?

Apple's documentation for UIDocumentInteractionController presentOpenInMenuFromBarButtonItem:animated: method states that "If there are no registered apps that support opening the document, the document interaction controller does not display a…
Obliquely
  • 7,002
  • 2
  • 32
  • 51
1
2
3
14 15