iOS之消息路由的特性

  在从IOS5.0以后,子View将touchesBegan传递给父窗口后,父窗口会自动收到后续的touchesMoved、touchesEnd消息。

  但在IOS5.0之前,即从IOS4.3.3开始,子View将touchesBegan传递给父窗口后,父窗口只能收到touchesBegan,并不会接收到后续的touchesMoved、touchesEnd,如果要接收的话,则要显式的传递。

 

相关文章:

  • 2022-12-23
  • 2021-11-24
  • 2022-12-23
  • 2022-01-15
  • 2021-12-05
  • 2022-12-23
猜你喜欢
  • 2021-10-15
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-22
  • 2022-12-23
  • 2021-12-23
相关资源
相似解决方案