How do Responder Chain Works in IPhone? What are the “next responders”?

后端 未结 5 1460
难免孤独
难免孤独 2021-01-31 09:01

This is what the documentation says:

If the first responder [to an event or action message] cannot handle an event or action message, it forwards it to th

5条回答
  •  隐瞒了意图╮
    2021-01-31 09:55

    Apps receive and handle events using responder objects.

    A responder object is any instance of the UIResponder class,

    • common subclasses include

      UIView, UIViewController, and UIApplication.

    Responders receive the raw event data and must either handle the event or forward

提交回复
热议问题