objective c - while UIAlertController is shown, parent's viewDidDisappear is not called (only on IOS8) -
Unfortunately I had to move from UIActionSheet to UIAlertController because IOS8 had removed the first functionality.
Before using it, every time I went from the home screen and the parental scene "wanted designer" was called, then I could dismiss the menu I created.
Now it is not called anymore. Looks like the code:
UIAlertController * alert = [UIAlertController .... favorite style: UIAlertControllerSyleActionSheet] UIAlertAction * a = [....] [Warning addAction: a]; Warning. PopoverPresentationController.barButtonItem = self.mybutton // Bar button from my scene [self-current ViewController: Animated Alert: Yes Complete: Zero] // Maybe im not showing up properly?
I do not know how to walk from here .. There is love with some help.
== EDIT ==
I saw it also with the deprecated UIASChat and with the UIDCUMENT Interface Controller - only in iOS8, not in IO7
Maybe I 'm thinking very simple here, but is it not easy to put whatever code was in a different method And by looking at that method, do you use the display and the bit of code after that bit to present that alert controller?
- (zero) viewDidiShow the manifest {{self hide menu}; } - (Zero) hideMenu {// You can dude all things to hide the previously viewed menu}
and change the code introduced in this way
// more code here [self current ViewController: animated alert: yes complete: zero]; [Self hide menu];
Comments
Post a Comment