I have a UIView inside a UIView, now when I click on button in the nested UIView, I want to refresh the full UIView.
How can I inform the parentView to refresh when a button is pressed?
When I press a button in nested View - view2 - I want to do this in the parent view - view1 userImage.hidden = true
When there is a button pressed in content view, I want to hide userImage from the view This content View is actually displaying another View Controller, in that view controller when a button is pressed, I want to update the view
EDIT - The solution I am thinking of is to reload the full View Controller. How can I reload the parentView Controller?