There are screens A, B, and C, and I would like to use the segment on the Storyboard for screen transition.
The transition is
·Screen A→C
·Screen B→C
is available.
"At this time, when I press the ""back"" button on screen C, I would like to say ""back to A if you come from A"" or ""back to B if you come from B."""What should I do?
The Back button on screen C in Storyboard is tied to Exit, but you can only choose where to return to either screen A or screen B.
Also, I would like to know how to use segment instead of using presentViewController and dispatchViewControllerAnimated.
Thank you for your cooperation.
ios swift objective-c
© 2024 OneMinuteCode. All rights reserved.