有4個(gè)viewcontroller,分別是A,B,C,D. A presentViewController B presentViewController C presentViewController D
一層一層的返回是可以的.但我現(xiàn)在想在D(完成頁(yè)面)直接返回到A,并且銷(xiāo)毀B C D氧急。
使用[self.presentingViewController dismissViewControllerAnimated:NO completion:nil]能夠達(dá)到目的.