• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
UIDocumentInteractionController open-in multiple UTIs
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

UIDocumentInteractionController open-in multiple UTIs


  • Subject: UIDocumentInteractionController open-in multiple UTIs
  • From: Markus Spoettl <email@hidden>
  • Date: Sun, 26 Jan 2014 14:54:57 +0100

Hi,

my iOS 7 app shares data with other apps on the device using UIDocumentInteractionController's openIn. Works fine.

The problem is that I'd like to share different file formats (all of which are declared and exported by UTIs from our app), depending on which app is the recipient.

I tried to use the -documentInteractionController:willBeginSendingToApplication: delegate method to setup the exported file and its URL, but unfortunately the URL property must be set and be available before that method when the controller is presented.

The documentation claims that URL can be set after initialization but I fail to see how that is true, except of course that you can call setURL before presenting the controller, which is rather pointless.

I would be equally fine with offering a number of different UTIs for export and let UIDocumentInteractionController negotiate the format that should be generated.

Any ideas on how to solve this?

Regards
Markus
--
__________________________________________
Markus Spoettl
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Prev by Date: NSCollectionView horizontal scrolling problem
  • Next by Date: Re: NSCollectionView horizontal scrolling problem
  • Previous by thread: Re: NSCollectionView horizontal scrolling problem
  • Next by thread: Finding events
  • Index(es):
    • Date
    • Thread