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?
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?
You Must use
and set your entries like you want...
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
UIView
s: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.Reinitialise the view controller