현재보기 컨트롤러를 닫고 새보기 컨트롤러를로드하려고합니다. 다음, 새로운 모달보기 컨트롤러가있는 경우 이전 모달보기 컨트롤러를 닫습니다.
FieldReportViewController *fieldReport = [self.storyboard instantiateViewControllerWithIdentifier:@"fieldReportView"];
[self presentModalViewController:fieldReport animated:YES];
[self dismissModalViewControllerAnimated:NO];
내가 새로운 모달을 제시 이전을 dimiss : 그것은 작동해야처럼이 보인다. 그러나 오래된 것은 실제로 해산되지 않습니다.
내가 어떻게이 작업을 수행 할 수 있는지 또는 왜 작동하지 않는지 알아보십시오.
모달 뷰 자체를 해제해야합니다. – CodaFi
@class 클래스를 해제하려면 모달을 선언해야합니다. – Floris497