Xcoder qnoid writes How to replace the rootViewController of the UIWindow in iOS.

Very detailed post, with screenshots and videos. Well done!