Some important part of my code is running in viewDidLoad and I was wondering is there was a way to unload an UIView so that when my controller calls it again it must go through viewDidLoad again?
Thanks a lot!
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 should perhaps rethink the positioning of that code if its important.
If you need it to run each time the view is displayed, consider placing it in
view[Will/Did]Appear.