以编程方式在iphone中实现TPKeyboardAvoidingScrollView

时间:2012-11-17 18:22:49

标签: iphone objective-c ipad uiscrollview

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

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

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

TPKeyboardAvoidingScrollView添加在self.view中 - 但是TextField没有添加到keyboardAvoidingScrollView

请帮帮我......

提前致谢..

0 个答案:

没有答案