Obj-C
or MonoTouch C#
answers are fine.
The initial UIWindow\'s RootViewController is a simple login screen.
window.RootViewCon
This is MT code of @Robert Ryan's technique (although I agree with his suggestion that theAppScreen
is probably the "correct" RootViewController
):
void DissolveIn (UIWindow window, UIViewController newController)
{
newController.ModalTransitionStyle = UIModalTransitionStyle.CrossDissolve;
window.RootViewController.PresentViewController (newController, true, () =>
{
window.RootViewController.DismissViewController (false, null);
window.RootViewController = newController;
});
}