I need to check if the app is in the background and what its backgroundTimeRemaining
is, from a non-main-thread. — Apparently this is no longer allowed without throwing the warning. I filed a radar but Apple said this works as intended.
So, if you're not on the main thread, how do you check these properties? Cache them to other variables that don't throw this warning? Seems silly...