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 3428534
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T06:58:14+00:00 2026-05-18T06:58:14+00:00

I have some strange behavior in my iphone app. I have an NSTimer which

  • 0

I have some strange behavior in my iphone app. I have an NSTimer which counts down. When the app closes, I save the time and subtract that from the current countdown timer when the app reopens.

Say I close the app at 03:12 (3 mins 12 seconds). I reopen the app and my code (in app delegate) subtracts the closed time (say 5 seconds) and will then set the countdown label again. It sets it to 03:07.

However, the strange behavior is that when I reopen the app is says 03:12 for a SPLIT second before it updates to 03:07. Yet, I cannot find ANYWHERE where it would be setting an old time.

So, my question is that does the view retain the label value until next time it loads, or is it (as I heard) that the iphone takes an image of the screen so when the app loads next time it looks like it’s loading quicker. If this is right, is there a way to stop that??

I’m stuck with this one!!

  • 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-05-18T06:58:15+00:00Added an answer on May 18, 2026 at 6:58 am

    My understanding is that iOS generates a snapshot of your key window before backgrounding your app, then uses that to display the foregrounding animation. I believe this is done for performance reasons.

    An easy way out would be to simply hide your label in the applicationWillResignActive: method of your app delegate and then update and show it again in your applicationWillEnterForeground: method.

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

Sidebar

Related Questions

I have come across some strange behavior in my iPhone Objective-C app. I am
I have some strange behavior occurring in an ASP.NET application that I am trying
I see some strange behavior which I do not understand. I have a helper
I am getting some strange behavior involving database queries that I have never seen
I have some strange behavior in my rails3 app. When I pick a date
Having some strange behavior here. I have some XSLT which generates some html with
I've experienced rather strange behavior of JSTL forEach tag. I have some bean called
I have some strange scrolling problems with my PhoneGap (using jQuery Mobile) app: I'm
DataPager has some strange behavior. So to situate the problem, I have a DataPagerReapeater
I have a strange app behavior: The App updates the GUI changes only after

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.