Fixes issue where image picker would be presented with a clear background.
Occurs when Delta needs to request permission from user to access photo library.
This commit is contained in:
parent
a288f564b6
commit
6355699480
@ -32,6 +32,7 @@ class PhotoLibraryImportOption: NSObject, ImportOption
|
||||
imagePickerController.delegate = self
|
||||
imagePickerController.sourceType = .photoLibrary
|
||||
imagePickerController.mediaTypes = [kUTTypeImage as String]
|
||||
imagePickerController.view.backgroundColor = .white
|
||||
self.presentingViewController.present(imagePickerController, animated: true, completion: nil)
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user