Rule Definition
Ensure your sensitive data are deleted in UIApplication delegate method applicationDidEnterBackground: which is called when going to background mode
Remediation
Use applicationDidEnterBackground to delete sensitive data
Reference
https://www.owasp.org/index.php/OWASP_Mobile_Security_Project#Top_Ten_Mobile_Risks
Related Technologies
Technical Criterion
CWE-459 - Incomplete Cleanup
About CAST Appmarq
CAST Appmarq is by far the biggest repository of data about real IT systems. It's built on thousands of analyzed applications, made of 35 different technologies, by over 300 business organizations across major verticals. It provides IT Leaders with factual key analytics to let them know if their applications are on track.