rootのUIViewControllerを入れ替える
UIViewController*newvc=[[UIViewController alloc]init];
[UIApplication sharedApplication].keyWindow.rootViewController=newvc;