Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8009031
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T18:19:32+00:00 2026-06-04T18:19:32+00:00

I have a sensitive app the client wants to logout when it enters the

  • 0

I have a sensitive app the client wants to logout when it enters the background and show the login screen when it enters the foreground. It seems to make the user relogin when they get a low battery warning at 20, 10 and 5%. Has anyone encountered this or coded around it? I am coming up empty in all my searches for events that occur when the low battery warning is shown.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T18:19:34+00:00Added an answer on June 4, 2026 at 6:19 pm

    It seems that you need to move your logout logic from -applicationWillResignActive: or -applicationDidBecomeActive to -applicationDidEnterBackground: or applicationWillEnterForeground in your App Delegate.

    If your app does not need to support backgrounding then the best option may be to disable it by setting UIApplicationExitsOnSuspend to YES in the App’s plist.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an app that I have been developing that can display sensitive user
I'm writing a latency sensitive app that in effect wants to wait on multiple
I have some sensitive data that is stored in SQLite for an Android app.
I have an app where people could enter sensitive personal information. Is there a
I have the following class in a Rails 3.1.1 app: class User < ActiveRecord::Base
I am working on an Android app that deals with sensitive user information. One
I have a .ini file with sensitive information in my php wab app. I
I have a .NET 4.0 Winforms app. I'd like to require the user to
I have a client who needs an Android App that can recognize spoken commands.
I'm trying to get wxCheckBox to have sensitive label like it is in some

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.