search

Home  >  Q&A  >  body text

ios - 如何禁用UITableViewCell内置的动画效果

开发了一个聊天程序,但在键盘收起或者快速滑动时,UITableViewCell中的内容(UITextView)会出现一些小的动画效果。

如何禁止这种动画效果呢?(注意后下角的文本内容)

PHPzPHPz2887 days ago451

reply all(5)I'll reply

  • 怪我咯

    怪我咯2017-04-17 17:27:40

    Finally solved this long-standing problem. See this article https://everettjf.github.io/2016/06/18/little-chat-ui-bug-resolve

    reply
    0
  • 天蓬老师

    天蓬老师2017-04-17 17:27:40

    Visual inspection is not a problem with Cell, nor is it a problem with textView.

    reply
    0
  • 巴扎黑

    巴扎黑2017-04-17 17:27:40

    I think it’s a layoutIfNeed problem

    reply
    0
  • 黄舟

    黄舟2017-04-17 17:27:40

    Is this built-in? This is an animation written on the background color. Look for the animation function in the function of cell willshow. PS: This is not the built-in animation of the system cell

    reply
    0
  • PHP中文网

    PHP中文网2017-04-17 17:27:40

    This is probably a third-party problem with this chat demo...
    A bold guess is that this library is probably written like this to install X, but you don't like it...

    reply
    0
  • Cancelreply