UIDocumentBrowserViewController with multi window support

Hi,


I currently have a subclass of UIDocumentBrowserViewController as the root controller of my application with multiple window support enabled on ipadOS. Everything seems to work fine when I manually create a new window.


But when I drag a supported document from the browser to the side nothing happens. I have a UIDocument subclass, should this subclass contain some specific information in order to support opening a new window when dragging to the side?


Any ideas?


FYI State restoration works perfectly with the create NSUserActivity.

Replies

Have you declared NSUserActivityTypes in your plist?

Yes I did, but I have two. One for handoff and one for the state restoration / multi window support.