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) }
remove segue spring insert variable spring element. in submit action, add command: [self.navigationcontroller popviewcontrolleranimated:yes];
Comments
Post a Comment