这就是我打开文档选择器的方式
func openDocuments(){
let documentPicker = UIDocumentPickerViewController(documentTypes: ["public.data"],in: .import)
documentPicker.delegate = self
documentPicker.modalPresentationStyle = .fullScreen
self.present(documentPicker, animated: true) {
}
}
注意单元格如何翻转标签
PS:
我有
UIView.appearance().semanticContentAttribute = .forceRightToLeft
因为我正在开发的应用程序只有阿拉伯语