您的位置:首页 > 产品设计 > UI/UE

suibi

2015-11-23 19:17 429 查看
The responder
chain is a series of linked responder objects. It starts with the first responder and ends with the application object. If the first responder
cannot handle an event, it forwards the event to the next responder in the responder chain.

Note: Make
sure that your app has established its object graph before assigning an object to be the first responder. For example, you typically call the
becomeFirstResponder
method
in an override of the
viewDidAppear:
method.
If you try to assign the first responder in
viewWillAppear:
,
your object graph is not yet established, so the
becomeFirstResponder
method
returns
NO
.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: