title: How do I refresh ViewController after dismiss method is called
body: <p>For example, I have two viewControllers named A and B. I move to "B view controller" after present method is called. I set some values through UserDefaults.stnadard on "B viewController", and I come back to "A view controller" after dismiss method is called. "A viewController" have to show modified values, but it doesn't show the modified ones. I tried calling <code>viewDidAppear()</code> method on "A viewController", but it didn't work. I tried calling <code>viewDidLoad()</code> method, and it worked well, but I heard that it's not a good way to call the method directly. System can only call it. So, I don't want to call it myself. How should I refresh "A view controller"?</p>