gpt4 book ai didi

ios - 如何在添加 endIgnoringInteractionEvents 之前匹配 beginIgnoringInteractionEvents

转载 作者:可可西里 更新时间:2023-11-01 03:40:04 24 4
gpt4 key购买 nike

我正在使用这两个函数 [[UIApplication sharedApplication] beginIgnoringInteractionEvents];[[UIApplication sharedApplication] endIgnoringInteractionEvents];当我从服务器下载数据时。

我的日志中出现以下错误。

-[UIApplication endIgnoringInteractionEvents] called without matching -beginIgnoringInteractionEvents. Ignoring.

我试图搜索几个链接,但找不到合适的解决方案。

How do you disable touch to screen without using beginIgnoringInteractionEvents?

What is “-[UIApplication beginIgnoringInteractionEvents] overflow. Ignoring.”?

Ignoring UI Events in AppKit

beginIgnoringInteractionEvents or userInteractionEnabled = NO not working as expected

最佳答案

您可以随时查看。

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

关于ios - 如何在添加 endIgnoringInteractionEvents 之前匹配 beginIgnoringInteractionEvents,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/15061917/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com