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

  • Home
  • SEARCH
  • 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 6843143
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T00:12:36+00:00 2026-05-27T00:12:36+00:00

2nd Tab when input new values doesnt refresh. The application has to be restarted

  • 0

2nd Tab when input new values doesnt refresh. The application has to be restarted in the simulator for the new values to take effect.

How the app is setup:

In Tab 1, there are text fields take in values. I have a Submit button which passes the values to AppDelegate which is then reused in Tab 2.
First Run : Input the values on Tab 1 and press Tab 2 – All labels are refreshed properly with correct calculated values.

Second Run : Input a different set of values on Tab 1 and press Tab 2. The values on labels still retain the calculated values from Run 1.

Then I restart the app on simulator and input the values on Tab 1 and I get the results as expected. But when I start a new execution the values are retained from the first run.

I am a newbie with 1 week into iPhone development. So please help!

  • 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-27T00:12:37+00:00Added an answer on May 27, 2026 at 12:12 am

    It sounds like you are updating your labels on viewDidLoad of “tab 2”, when you probably want to do that in viewWillAppear: instead.

    Hard to say for sure without seeing some code.

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

Sidebar

Related Questions

I have an application that has 4 views that are toggled by Tab Bar
I'm reading The C Programming Language (2nd ed.) and near the beginning, it has
I have a tab bar application in which i have 3 diffrent views each
I am using a <rich:tabpanel> with 3 tabs. In the 2nd tab I have
My iPhone app is a tab bar controller loading 3 navigation controllers: for the
Does anyone know a way to open a 2nd form in a .NET application
I have a tab bar + navigation based app and I'd like to launch
I have a basic project created in xcode as a Tab Bar Application, What
I'm making an application in which m using Tab Bars. Now what i need
double[] tab = new double[10]; I know I can gen minimum by tab.Min() .

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.