ios - View changes not being reflected when made change is made inside delegate method -


I have a class A , which represents delegates another class b being implemented in

in b I have a text field, which I am trying to hide when the rep is called.

  - (empty) Receive Response Delegate: (BOOL) status {textField.hidden = YES; }   

but textField is not hidden. I have seen that none of the related changes work inside the representative rep where the controllers of the child watching have been removed. What is the problem and how can I fix it?

Edit: B is a child view controller of another view controller

Try it, - (zero) did the ThiarasSponsalidatate: (BOOL) position {dispatch_async (dispatch_get_main_queue (), ^ {textField.hidden = YES;}); }

Comments

Popular posts from this blog

sonata admin - how to add ManyToOne property field in configureListfield in sonataAdmin -

wpf - ControlTemplate with changes for every class -

sql - Return Function using Cursor -