zoukankan      html  css  js  c++  java
  • bubble chat listview

    最近在iOS中用到bubble chat listview,找了个比较有名气的lib(MessagesTableViewController)=>https://github.com/jessesquires/MessagesTableViewController 粗略剖析了一下。
    其中比较关键的一个功能是当向下拖动UITableView时,手指拖到键盘区时,需要让输入框 resignFirstResponder。作者是通过检测UITableView的内置的panGestureRecognizer的location和velocity来实现的。比较奇怪的是关于键盘frame的获取,作者不是通过UIKeyboardxxxxNotification中的UIKeyboardFrameEndUserInfoKey来获取,而是通过 self.inputAccessoryView = [[UIView alloc] init]
     和 self.keyboard = self.inputAccessoryView.superview;MessagesTableViewController
     
    2013年09月01日
  • 相关阅读:
    IE8、IE9解决浏览器跨域。
    英语写作-Introduction
    qt添加图标
    Qt 编译错误 :cannot find file .pro
    python
    数据集
    基金
    visio2010求交操作
    书籍网站
    ROS安装xtion
  • 原文地址:https://www.cnblogs.com/yingkong1987/p/3295588.html
Copyright © 2011-2022 走看看