Is there any way to detect whether Apple push permission alert box is visible on screen or not?
As my knowledge, we can determine whether user has disallowed or allowed push permission, but I am not sure about whether we can detect alert box is presented on screen or not.
I checked Apple documentation but no luck.
Solution should work for ios 9.0 and above