Covered a mask Window upon keywindow, UIImagePickerController can't respond user actions

I put a mask window ( window level =2000) upon keywindow to lower the brightness. I set mask window userInteraction to NO. Other functions in keywindow are normal, However UIImagePickerController' content (photo list) can't respond to user actions.

Replies

Other functions in keywindow are normal,

Which functions, please be more precise.


However UIImagePickerController' content (photo list) can't respond to user actions.

If I understand what you did, the mask window does not let taps reach the views below.


Did you try to set the window with the picker as the keywindow ?