ios: rework loader to include root view controller