I am getting a strange crash listed in crashlytics for UIImage imageNamed:
method. This crash appears only on iOS8 and is a persistent issue for many users. Although, strangely I have not been able to reproduce the issue while testing.
Please refer the image of crash log from crashlytics.
I guess, this may have to do something with the internal working of imageNamed:
method.
The issue got resolved after I moved the UIImage imageNamed:
method from background thread to main thread. Incidentally, this should always have given a run-time crash, because that method is supposed to run on main thread only(as all UIKit methods), but for some reason previous versions of iOS let it run. In iOS8 though it crashes more often, but not always.
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