I'm having a problem with my iOS 10 run, can you please check?
This is happening only after the first time items import - when user being asked with permission. Here's more clearly what is happening:
Before calling CTAssetsPicker user being asked for authorisation
At this point iOS' authorisation prompt comes in a blank dark background
Once user permits authorisation CTAssetsPicker control opens
After selection when CTAssetsPicker control removes, it left with a blank dark background only
However, next time when the app has authorisation and no authorisation prompt came, dismissing CTAssetsPicker do not leave any blank dark background. My calling codes are as follows:
PHPhotoLibrary.requestAuthorization {
(status:PHAuthorizationStatus) -> Void in
DispatchQueue.main.async
{
let picker = CTAssetsPickerController()
picker.title = title
picker.delegate = self
self.present(picker, animated: true, completion: nil)
ConstantsVO.isImportWindowOpened = false
}
}
Hi there!
I'm having a problem with my iOS 10 run, can you please check?
This is happening only after the first time items import - when user being asked with permission. Here's more clearly what is happening:
However, next time when the app has authorisation and no authorisation prompt came, dismissing CTAssetsPicker do not leave any blank dark background. My calling codes are as follows:
Can you guess any reason why it's may happening?
Thanks!