Swift PHPicker cancel button changes color

263 Views Asked by At

I am currently using the PHPicker from apple. Works great but whenever I switch to the album segment the cancel button changes colour to white, making it barely visible. When I switch back to all it stays white. Like so:

View pops up

Switching to albums changes color

code to initialise the picker:

        var config = PHPickerConfiguration(photoLibrary: .shared())
        config.selectionLimit = 50
        config.filter = .images
        let vc = PHPickerViewController(configuration: config)
        vc.delegate = self

        present(vc, animated: true, completion: nil)

Any idea?

0

There are 0 best solutions below