w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
Attempt to dismiss from view controller while a presentation or dismiss is in progress

You shouldn't have the delegate dismiss the viewController.

Rather you should dismiss it by using the .presentingViewController property on the presentedViewController.

Like so:

[self.presentingViewController dismissViewControllerAnimated:YES

© Copyright 2018 w3hello.com Publishing Limited. All rights reserved.