add getContentHeight fun to both textarea and textfield for iOS