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:
Riley Testut 2017-05-02 16:55:16 -07:00
parent a288f564b6
commit 6355699480

View File

@ -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)
}
}