Update root view controller on applicaiton launch

Sample iOS project which shows how to update root view controller based
on logic inside application launch.