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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T10:31:31+00:00 2026-05-23T10:31:31+00:00

I have a serious doubt. It may be simple, but I need some help

  • 0

I have a serious doubt. It may be simple, but I need some help with this.

I have a view (view1) and I navigate to (view2). There is a tableView in View 2 with some textFields (added as a SubView) , and I add some data to the textFields in the UITableViewCells.

I press the back button, and I go back to view 1.

If I navigate again to view 2, the textFields are in the exact same state as I had left it before. I want it to be nil, and show the placeholders in them. How do I make the textFields nil again without disrupting all the other data ?

I used NSUserDefaults in view 1 to let view 2 know that I am navigating. But … the method
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath and viewDidLoad does not seem to be called again. Only if it is called again, I can make the textFields inside the uitableViewCells nil.

Could someone tell me how I can call the tableViewCells everytime a navigate to view2 ?

  • 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-23T10:31:32+00:00Added an answer on May 23, 2026 at 10:31 am

    I cannot believe I missed this. I do not know if I should delete this question…

    1. I used a simple [tableView reloadData];
    2. Used it in viewDidAppear;

    These two simple things did the trick !

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

Sidebar

Related Questions

I have a solution with multiple projects and we need to do some serious
(I don't have a serious need for this answer, I am just inquisitive.) Can
I have this serious: I have ASP.NET page, This page contents Update panel with
I have a serious performance problem. I have a database with (related to this
Ok guys, I have a serious problem with this. I have a static class
In a desktop application needing some serious re-factoring, I have several chunks of code
GAE recommends using JDO/JPA. But I have serious question about using OODB like them.
I have a serious long else if statement which contains some links and some
I have this serious problem. I have an enumeration within 2 namespaces like this:
Good people of SO, Today I have some serious concerns on my business layer

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.