In the project I'm working on, we're getting random crashes related to connectedScenes:
Fatal Exception: NSInvalidArgumentException
-[UIApplication connectedScenes]: unrecognized selector sent to instance someInstance
I couldn't reproduce this, but we have over 800 crashes from this in the past month. I've researched this property a bit, and it seems that just filtering the key window should be enough without using connectedScenes property. I have no idea though why UIApplication can't find this method signature sometimes.
In the project I'm working on, we're getting random crashes related to
connectedScenes
: Fatal Exception: NSInvalidArgumentException -[UIApplication connectedScenes]: unrecognized selector sent to instance someInstanceI couldn't reproduce this, but we have over 800 crashes from this in the past month. I've researched this property a bit, and it seems that just filtering the key window should be enough without using
connectedScenes
property. I have no idea though why UIApplication can't find this method signature sometimes.Any thoughts?