Skip to content

File picker may crash on iOS 15.0~15.1.1 #260

@Saafo

Description

@Saafo

I've met a crash with info Fatal error: Use of unimplemented initializer 'init(documentTypes:in:)' for class '<my own class which inherit UIDocumentPickerViewController> on iOS 14~15 in my app, and search for usages on github and found your repo, which has similar usage as mine.

And I've test the crash is also reproducible on iOS 15.0~15.1.1, and on iOS 15.2 it's gone.

So I think the version check may change 15.0 -> 15.2. You can verify it with a iOS 15.0/15.1 device.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions