当键盘出现在 iPhone 上时,我试图向上滚动文本框,我正在使用以下代码,但出现错误:
在对象类型“UITextField”上找不到属性“原点”
studentLoanTextBox.frame = CGRectMake(
studentLoanTextBox.origin.x,
studentLoanTextBox.origin.y - 100.0,
studentLoanTextBox.frame.size.width,
studentLoanTextBox.frame.size.height
);