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.
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 :
Comments
Post a Comment