I was doing some little iOS App project and got few questions.
I put a textField, textView, imageView, button and set auto-layout in a storyboard. But depends on constraints, I was not able to see the textView on view hierachy. why does it happen? when does it happen?
I just wanted to use a function whenever setting image in imageView. So I thought I needed to set property observer for IBOutlet which is the imageView. I ran the code, but it didn't works properly. The function I wanted to use was called just once when the view that has imageView came up. Why does it happen? My solution wasn't good?
I want to update a main view after dismissing a modal view which has a logic about store some value. And I checked the main view's viewWillAppear isn't called after dismissing modal. In this case, how can I update the main view with a value that the modal view stored? I thought "Do I need to set a function for update in main viewController and use presentingViewcontroller value in modal viewController to update the view?" Is this right idea?