2

我尝试以编程方式实现 TPKeyboardAvoidingScrollView,但我没有得到正确的结果..

TPKeyboardAvoidingScrollView *keyboardAvoidingScrollView = [[TPKeyboardAvoidingScrollView alloc] initWithFrame:self.view.frame];

并在keyboardAvoidingScrollView中添加一些UItextFields 最后在[self.view addSubview:keyboardAvoidingScrollView]中添加keyboardAvoidingScrollView;

在 self.view 中添加了 TPKeyboardAvoidingScrollView - 但在 keyboardAvoidingScrollView 内未添加 TextField

请帮助我..

提前致谢..

4

0 回答 0