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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T16:45:14+00:00 2026-05-11T16:45:14+00:00

Application shows information about planets, their moons, and etc. It shows a list of

  • 0

Application shows information about planets, their moons, and etc. It shows a list of planets, let user select a planet and see its details and then bookmark/unbookmark it. I have a view which shows user the details of selected planet, it also contains a add/remove bookmark button. If user clicks that button, that bookmark is added/removed and another view is pushed on top of current view to tell user that bookmark has been deleted.

Now question is when user clicks the back/planet details button on the left of navigation bar shown on the status view and he gets back to the planet details view, he is still shown the add/remove (whichever was shown previously) button whereas it should now be remove/add (according to the previously loaded button) according to the code i wrote.

What i can understand is that when user clicks that back button, the previous view isn’t reloaded, the status view just gets popped up. Is there a way i could make app run setNeedsDisplay or something that could reload the bookmark details viewDidLoad code when user click the back button on status view?

Or is there another solution possible?

Its very confusing to the user as he thinks that he just removed/added the bookmark but the button is still asking him to add/remove…

That status view is also used by other section of the code to show results to the user of an action so i can’t change its code, or may be i can check the previous view in it, check if it was planet details and then reload its contents…

  • 1 1 Answer
  • 1 View
  • 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-11T16:45:14+00:00Added an answer on May 11, 2026 at 4:45 pm

    Take the code that sets the button up in the viewDidLoad method and move it into viewWillAppear. It should update the button properly when you re-enter the view.

    • 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 shows a list of items. The user can click
my application shows contact information (from approx. 2000 contact records with various detail information
I've got a simple application that shows pictures dragged onto it. I'd like the
This code works in a windows forms application (it shows the preview) but not
I have a simple HTML (as HTA) application that shows strange behavior on Windows
So I'm looking at writing an iPhone application that shows things on a map.
When my ASP.NET application crashes (when it shows the default exception page), I'd like
I'm adding in-app purchase on my application. I have a view that displays information
I have a VxWorks application running on ARM uC. First let me summarize the
Currently I have an application that takes information from a SQLite database and puts

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.