[self presentModalViewController:editUI animated:YES]; //跳转界面
editUI = [[EditUI alloc] initWithNibName:@"EditUI" bundle:nil]; //初始化UIViewController
if([self parentViewController])
{
[[self parentViewController] dismissModalViewControllerAnimated:YES];
}
else
{
[[self presentingViewController] dismissModalViewControllerAnimated:YES];
}
//退回前一个View
IOS常见API
猜你喜欢
转载自asdf314159265.iteye.com/blog/1952976
今日推荐
周排行