objective c - iOS Messages App UITableViewCell Insert Animation -


what wondering how can go achieving animation ios messages app animation whenever send message. animation takes text text field inside inputaccessoryview , animates uitableviewcell.

you may wanna try cocoacontrol, gives full messaging ui ios one.

i tried find animation code , achieved (is not close solution, didnt find observer called):

- (void)finishsendingmessageanimated:(bool)animated {     uitextview *textview = self.inputtoolbar.contentview.textview;     textview.text = nil;     [textview.undomanager removeallactions];      [self.inputtoolbar togglesendbuttonenabled];      [[nsnotificationcenter defaultcenter] postnotificationname:uitextviewtextdidchangenotification object:textview];      [self.collectionview.collectionviewlayout invalidatelayoutwithcontext:[jsqmessagescollectionviewflowlayoutinvalidationcontext context]];     [self.collectionview reloaddata];      if (self.automaticallyscrollstomostrecentmessage) {         [self scrolltobottomanimated:animated];     } } 

if want achieve animation may wanna check full control, or implement it.

https://github.com/jessesquires/jsqmessagesviewcontroller

hope helps!


Comments

Popular posts from this blog

Java 3D LWJGL collision -

spring - SubProtocolWebSocketHandler - No handlers -

methods - python can't use function in submodule -