How to get UIDocumentMenuViewController functionality in iOS 11?

On iOS 11, the UIDocumentMenuViewController marked as deprecated.

It is recommended to use the UIDocumentPickerViewController that existed before and has only a subset of the UIDocumentMenuViewController functionality (in previous versions it was called by the UIDocumentMenuViewController ).

I don’t see that something new has been added to it so that it can increase the removal of the UIDocumentMenuViewController .

Somehow, I doubt that iOS 11 removed such an important feature without suggesting any new way to do it, but I can't see it right now, so does anyone know something in this regard?

+7
ios ios11
source share
1 answer

In iOS 10 and the previous version of the UIDocumentMenuViewController , Dropbox, Google Drive opens ... then you need a Menu so you can add items dynamically as needed. In iOS 11, there is only one Explore... element in the menu, and now you can use the ActionSheet with your custom elements and the UIDocumentPickerViewController .

+3
source share

All Articles