Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unidentified view on top of popup view if rendered after camera image picker dismissal #28

Open
cha777 opened this issue Jun 26, 2020 · 1 comment

Comments

@cha777
Copy link

cha777 commented Jun 26, 2020

I tried showing login screen popup provided in the demo after a the dismissal of camera imagepicker view. It shows 2 unidentified views on top of the popup view causing to obstruct interaction with the popup view. This happens only if i tried to show the popup after camera view dismissal

Device: iPhone XS
iOS: 13.5.1

func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath) {
    let imagePickerVC = UIImagePickerController()
    imagePickerVC.delegate = self
    magePickerVC.sourceType = .camera
    imagePickerVC.videoMaximumDuration = 10
    imagePickerVC.mediaTypes = [String(kUTTypeMovie), String(kUTTypeImage)]
    present(imagePickerVC, animated: true)
}

func imagePickerController(_ picker: UIImagePickerController, didFinishPickingMediaWithInfo info: [UIImagePickerController.InfoKey : Any]) {
    dismiss(animated: true) {
        PopupWindowManager.shared.changeKeyWindow(rootViewController: LoginPopupViewController())
    }
}

Screenshot 2020-06-27 at 00 36 31

@dpalme3160
Copy link

Good luck getting an answer, he never responds.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants