I have a View controller displaying some information (not table views).
I have an update call to a remote server which fills my data base. I would like to completely reload my ViewController after the update call is done.
What should I do?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
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.
You really don’t need to do:
Honestly, I think it’s “let’s hope for the best” type of solution, in this case. There are several approaches to update your
UIViews:Each one has is pros and cons. Depending of what you are updating and what kind of “connection” you have between your business layer (the server connectivity) and the
UIViewController, I can recommend one that would suit your needs.