ios - Xcode: Segue Show Transition Repeats Twice -


i have 2 views, spring element , spring insert variables. user click on add button, change view spring element spring insert variables adaptive segue - show(eg.push). user input variables , submit, change view spring insert variables spring element adaptive segue - show(eg.push).

the problem transition spring insert variables spring element repeats twice. video illustration here

how correct it?

code add function

@ibaction func add(sender: anyobject) {      self.performseguewithidentifier("addspring", sender: sender)  } 

code submit function

@ibaction func submit(sender: anyobject) {      self.performseguewithidentifier("springsubmit", sender: sender) } 

storyboard view

remove segue spring insert variable spring element. in submit action, add command: [self.navigationcontroller popviewcontrolleranimated:yes];


Comments

Popular posts from this blog

node.js - Mongoose: Cast to ObjectId failed for value on newly created object after setting the value -

gradle error "Cannot convert the provided notation to a File or URI" -

python - NameError: name 'subprocess' is not defined -