How to match beginIgnoringInteractionEvents before adding endIgnoringInteractionEvents

后端 未结 1 1912
面向向阳花
面向向阳花 2021-02-09 09:54

I am using these two functions [[UIApplication sharedApplication] beginIgnoringInteractionEvents]; and [[UIApplication sharedApplication] endIgnoringInteracti

1条回答
  •  终归单人心
    2021-02-09 10:43

    You can always check.

    if ([[UIApplication sharedApplication] isIgnoringInteractionEvents])...
    

    0 讨论(0)
提交回复
热议问题