Sample iOS project which explains how to update root view controller dynamically based on the logic inside didFinishLaunchingWithOptions