把window移除到屏幕外面
self.window.transform = CGAffineTransformMakeTranslation(0, 50);
让屏幕在回来
self.window.transform = CGAffineTransformIdentity;
pop到指定的ViewController
//post成功
[self showHUDDoneWithText:@"Update Event Success"];
__block MeViewController *meVC ;
[self.navigationController.viewControllers enumerateObjectsUsingBlock:^( UIViewController * obj, NSUInteger idx, BOOL * stop) {
if([obj isKindOfClass:[MeViewController class]]){
meVC = (MeViewController *)obj;
}
}];
[self.navigationController popToViewController:meVC animated:YES];
这样就能pop到指定的VC了