本项目包含一个 UITextField
和 UITextView
的子类,用于自动调整窗口的位置以保持自己可见。
This project contains a sub-class of UITextFile and a sub-class of UITextView, which will automaticlly adjust position when keyboard pop out to make itself visible.
Features:
- Easy to use, just make the Class to "RAutoTextView" or "RAutoTextField" in your IB, or just
[RAutoTextField alloc]
just like what you do with UITextField. - Support both ARC and non-ARC
Requirements:
- iOS 4 and up
- Frameworks: Foundation, UIKit