当我触摸文本字段时,如何向上移动(滚动)屏幕&它应该适用于ios3以及ios4(我正在使用xcode 4开发应用程序)?
答案 0 :(得分:1)
This链接会为您提供所有必需的答案...我建议您仔细阅读...
答案 1 :(得分:0)
[UIView beginAnimations:nil context:NULL];
[UIView setAnimationDuration:0.3];
// (x,y, width, height) change it as you want
[yourViewName setFrame:CGRectMake(0.0f, 200.0f, 320.0f, 460.0f)];
[UIView commitAnimations];
祝你好运。