ios - Child view controller elements not visible in delegate call back method -


This is my scenario, I have a child view controller to see the controller b and B , I am creating an NSURL session call and send the asynchronous response to the main thread on the response

  dispatch_async (dispatch_get_main_queue (), ^ {// call call back delegation method [self Delegate cllBackMethod];}  

In view controller B. I am setting the representative as myself and this call back Method defining method

  - (zero) callBackMethod {NSLog (@ "% @", self header label); self.headerLabel.hidden = YES;}  < / Pre> 

If i b as a child's view controller a , its logging (null) and i can not access b elements, but If I make it from the B to A as a child view controller, I am capable of reaching these elements and amending it

Why is this happening? And how can I fix it?


Comments

Popular posts from this blog

ios - How do I use CFArrayRef in Swift? -

eclipse plugin - Run java code error: Workspace is closed -

c - Error on building source code in VC 6 -