In my app i want to access document of Google Drive and Dropbox. For iCloud their is UIDocumentPickerViewController
which shows file of iCloud.I am looking for something same for Google Drive and Dropbox. Is I have to create UIDocumentPickerViewController
manually for Dropbox and Google Drive.
I have added this in UIDocumentMenuViewController
attachmentMenu.addOptionWithTitle("Google Drive", image: R.image.google_Drive(), order: .First, handler: { () -> Void in
print("Google Drive")
})
I don't know what to do in handler.