找一个调和的,

    bottomView.frame = CGRectMake(bottomView.frame.origin.x, self.contentView.frame.size.height - keyboardHeight - contentSize.height - textViewBgAndCursor*2, bottomView.frame.size.width, contentSize.height + textViewBgAndCursor * 2);

#define textViewCursorToTop 1

#define textViewHeightLimit 6

#define textViewBgAndCursor 5

posted @ 2014-01-02 16:34  路在脚下,  阅读(106)  评论(0编辑  收藏  举报