Revert "Don't call resignKeyWindow because Apple's documentation says to never call it directly. Instead of explicitly resigning a UIWindow, call makeKeyAndVisible on the window that should take over."
Revert "Don't call resignKeyWindow because Apple's documentation says to never call it directly. Instead of explicitly resigning a UIWindow, call makeKeyAndVisible on the window that should take over."

This reverts commit b036b798cf146d744e7e3fdf3226d3156220d32b.

CapoChino/SafeUINavigationController