如何在iPhone键盘上单击完成后移动到新屏幕?

时间:2011-05-03 15:43:11

标签: iphone uiview keyboard action

我是一名新的iPhone开发人员,所以我非常感谢一些指导。

我从一开始就开始......但我不知道该怎么做。

    - (BOOL) textFieldShouldReturn:(UITextField *)textField {
    //hide keyboard
    [textField resignFirstResponder];

    //after hiding the keyboard, call another method
    //which should display a UITableView

    return YES;
    }

如果我能提供更多信息,请告诉我。

1 个答案:

答案 0 :(得分:0)

查看涵盖ViewControllers和导航主题的Apple开发人员文档。

这应该让你开始。

http://developer.apple.com/library/ios/#featuredarticles/ViewControllerPGforiPhoneOS/Introduction/Introduction.html

相关问题