- (void)back {
if (self.presentingViewController && self.navigationController.viewControllers.count == 1) {
[self dismissViewControllerAnimated:YES completion:nil];
} else {
[self.navigationController popViewControllerAnimated:YES];
}
}
网友评论