The same question about the same thread ... I try to get everyone from different positions and forums
<>
I tried.
- Revoke viewControllerA before presenting ViewControllerB // which is going to directly see
- ViewControllerA view is not going to deny Controller B / // DismissViewController should reject all the stacks .. but it is not working for me so I tried it
- Controller in both view view of the controller // Still this view shows the Constellor A
OMG ... it's confusing ..
your The code is unclear (you may refer to two different things when they self
). I'm assuming what you want to do (effectively):
[viewController presentModalViewController: viewControllerA animated: yes]; // time passes ... [viewControllerA presentModalViewController: viewControllerB animated: yes]; // time passes ... do something to dismiss both controllers ...
You may have luck with something like this:
[viewControllerAMarDialViewControllerDelete: no]; [Disconnect ViewController ModulealViewController: NO];
I'm not sure what you mean by "in" or "inside"; It does not matter which category you are in? But usually, a visual controller is responsible for their children. Typically, parents set themselves up as a child's representative when the child is "done", it sends a message to the parent; UIKit's prepackaged view controller (UIImagePickerController / MFMailComposeViewController / MFMessageComposeViewController) follows this method because parents are responsible for dismissing the child.
Comments
Post a Comment