xcode - iOS - simulate keyboard animation on Notes application -


i went through lot of posts change position of keyboard in iphone programmatically. but, there seems no chance. noticed cello feature in iphone 5s ios 9.3.2 that, after typing in note, when scrolling top bottom , finger crosses on top of keyboard keyboard starts moving down , when dragging finger on keyboard.

enter image description here

enter image description here

is there anyway kind of animation programmatically.

it seems trying achieve default behavior in ios, though need tell system want it. there property keyboarddismissmode on uiscrollview (so available subclasses, uitableview or uicollectionview).

you can set either in code :

self.scrollingview.keyboarddismissmode = uiscrollviewkeyboarddismissmodeinteractive; 

or in ib :

ib screenshot of setting keyboard dismiss mode


Comments

Popular posts from this blog

Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12:test (default-test) on project.Error occurred in starting fork -

windows - Debug iNetMgr.exe unhandle exception System.Management.Automation.CmdletInvocationException -

unity3d - Fatal error- Monodevelop-Unity failed to start -