iOS Swift Segues -


what want: when i'm on green screen , push button "pushtobrown" want brown screen "think" i'm coming blue. if push button in brown screen want go blue.

at moment: call green screen programmatically example performseguewithidentifier(..., nil) , can switch brown or implement drag&drop (from button "pushtobrown" brownvc screen). if push "back button" go green. -> how can tell brown should go blue?

segue example

i suppose that's problem navigation controller. me if know tutorials segues or navigationcontroller handlding.

thanks in advance!

the solution problem unwind segue : what unwind segues , how use them?

what should ( can see in link ) add exit point, create unwind method , call 1 instead of simple popviewcontroller. first answer contains both explanation, code examples, , both objective-c , swift


Comments

Popular posts from this blog

javascript - How to diff two immutable objects -

c# - How can I have the VS Debugger break in the correct location for exceptions thrown in Async methods in a Console App? -

javascript - React.js: onClick function from child to parent -