title: The value arrive after my viewWillAppear: called I need the value before
body: <p>In my A class  when I open the App it calls <strong>viewWillAppear:</strong> and  inside my viewWillAppear: I have an if statement. the problem is the Support_three_ways_call that is a bool value that receive the value directly from the server and when the viewWillAppear finished after 6 seconds the real value arrive from server, I am trying to find a way or to refresh my view after 6 seconds that take the real value and I dont know how to do that, I would like to ask if there are anyway to refresh the view after some seconds or call the same view from another class to make it disappear or appear.   I tried to call my viewWillAppear from another class after 6 seconds but the problem is, it call the function but it doesn't work. </p>
  
  <p>any help appreciate.</p>
  
  <pre><code>-(void) viewWillAppear:(BOOL)animated{
   [super viewWillAppear:animated];
  
  
  
  
  
      if (Support_three_ways_call){
          keypadEditorView.threewaysbutton.hidden = NO;
  
      } else {
  
          keypadEditorView.threewaysbutton.hidden = YES;
      }
  
  }
  </code></pre>