I am working a multitasking app which continues for a while after being sent to the background. I noticed that the drawRect methods in one of the UIView gets called constantly when the app is in the background. This drawRect method is responsible for updating the user interface while the app works.
What is the best practice for this? I don't want to be wasting CPU cycles drawing something that the user won't see.