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

c - Mpirun hangs when mpi send and recieve is put in a loop -

python - Apply coupon to a customer's subscription based on non-stripe related actions on the site -

java - Unable to get JDBC connection in Spring application to MySQL -