I am using these two functions [[UIApplication sharedApplication] beginIgnoringInteractionEvents];
and [[UIApplication sharedApplication] endIgnoringInteractionEvents];
while I am downloading data from server.
I am getting below error in my log.
-[UIApplication endIgnoringInteractionEvents] called without matching -beginIgnoringInteractionEvents. Ignoring.
I tried to search on few links but can't find appropriate solution for this.
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
You can always check.
if ([[UIApplication sharedApplication] isIgnoringInteractionEvents])...
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With