0

私は失敗しました:

1. [self dismissViewControllerAnimated:YES completion:Nil];



 2. [[self parentViewController] dismissViewControllerAnimated:YES
    completion:Nil];



 3. //from the parent view controller using a delegate 
        -(void)closeReplaceController
        {
            DLog(@"closeReplaceController");
            [self dismissViewControllerAnimated:YES completion:Nil];

        }
4

1 に答える 1

1

私はこのようなことを試してみます:

-(void)killPresentingView
{
    UIViewController *vc = [self presentingViewController];
    [vc dismissViewControllerAnimated:YES completion:nil];
}

そして、何が起こるか見てください。私があなたを正しく理解していれば、これはうまくいくはずです。

于 2013-08-06T21:04:40.493 に答える