Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何关闭用户当前所在的视图控制器旁边的视图控制器?
我需要将 self 替换为视图控制器名称,但这样做时会得到 SIGABRT。我需要做什么?谢谢!
[self dismissModalViewControllerAnimated:NO];
尝试
[self.parentViewController dismissModalViewControllerAnimated: YES];