元々:
let documentPicker = UIDocumentPickerViewController(documentTypes: ["public.json"], in: .import)
現在:
let documentPicker = UIDocumentPickerViewController(forOpeningContentTypes: [.json])
元々:
let documentPicker = UIDocumentPickerViewController(documentTypes: ["public.json"], in: .import)
現在:
let documentPicker = UIDocumentPickerViewController(forOpeningContentTypes: [.json])