iPhone ModalViewController . In iOS 4, you can reject multiple ModalViewControllers using:
[[[[self parentViewController] parentViewController] parentViewController] dismissModalViewControllerAnimated:YES];
In iOS 5, the code does not work.
How to disable multiple modalViewControllers in iOS 5?
Yes, this is an annoying change. for modal view managers, now you need to call presentingViewController instead of parentViewController
presentingViewController
parentViewController
Hi In iOS 5 Use the code below
[[[self presentingViewController] presentingViewController] dismissModalViewControllerAnimated:YES];
Source: https://habr.com/ru/post/1388242/More articles:Capture from 2 cameras (OpenCV, Python) - pythonBest way to set text size? - androidAre the binary reader and writer open at the same time? - c #What is @RequestParam and how is it populated? - javaRuby How to create ranges from custom Docs? - ruby ββ| fooobar.comDoes ruby ββuse the stack to manage memory? - memory-managementHow do you format the "li" and "a" DOM ββelements in jsTree by setting your class? - jqueryParenthesizing string so that the expression takes the given value - algorithmIs it possible to pull out the whole element without moving to the beginning? - vimAndroid emulator error -ddmlib - androidAll Articles