ios - Animate segue and display keyboard together smoothly -
i have view controller accepts text input using uitextview called "mytextview".
when segue mytextview, use following:
self.performseguewithidentifier("mytextview", sender: self) mytextview presented. next keyboard displayed after viewdidappear:
override func viewdidappear(animated: bool) { self.mytyping.becomefirstresponder() } everything animates smoothly. want keyboard display @ same time segue animating , being displayed , not 1 after other.
i can call keyboard segue call. however, animation jittery , choppy, , not smooth.
how can both segue mytextview view controller , display keyboard @ same time without animation jitters?
Comments
Post a Comment