不能自己调用自己,而是 用其它来减去,

第一种成了自调用了,  

  bottomView.frame = CGRectMake(bottomView.frame.origin.x, bottomView.frame.origin.y - contentSize.height, bottomView.frame.size.width, bottomView.frame.size.height + contentSize.height);

        self.inputView.frame = CGRectMake(self.inputView.frame.origin.x, self.view.frame.size.height - contentSize.height - self.faceInputView.frame.size.height - 5, self.inputView.frame.size.width,contentSize.height + 5);

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