How to Securely Log Users Out of iOS Apps with Inactivity Timeout

Programming Tech Brief By HackerNoon - A podcast by HackerNoon

Categories:

This story was originally published on HackerNoon at: https://hackernoon.com/how-to-securely-log-users-out-of-ios-apps-with-inactivity-timeout. Many apps have a feature that automatically logs you out after a certain period of inactivity. Some apps log you out based on API inactivity, while others imple Check more stories related to programming at: https://hackernoon.com/c/programming. You can also check exclusive content about #ios, #swift, #security, #foundation, #ios-app-development, #ios-development, #iosprogramming, #hackernoon-top-story, #hackernoon-es, #hackernoon-hi, #hackernoon-zh, #hackernoon-vi, #hackernoon-fr, #hackernoon-pt, #hackernoon-ja, and more. This story was written by: @dekij. Learn more about this writer by checking @dekij's about page, and for more stories, please visit hackernoon.com. Many apps have a feature that automatically logs you out after a certain period of inactivity. Some apps log you out based on API inactivity, while others implement a logout timer by overriding the UIView controls. In this article, we will explore a better way to achieve this behavior using the hitTest method.