我有一个基于视图的应用程序。加载的第一个观点有它加载使用该代码的另一视图按钮:在Objective-C(iPhone)中卸载视图
AddPost *addView = [[AddPost alloc] initWithNibName:@"AddPost" bundle:nil];
addView.modalTransitionStyle = UIModalTransitionStyleFlipHorizontal;
[self presentModalViewController:addView animated:YES];
我想要做的就是提供在视图(AddPost),可以让我将其关闭并返回到一个按钮原始视图。我怎样才能做到这一点?