The reason this code failed is because the incorrect window was key. This code works properly when the window is key.
The reason this code failed is because the incorrect window was key. This code works properly when the window is key.

bigbigbomb/bbcommon-ios