title: WatchKit SDK not retrieving data from NSUserDefaults
body: <p>I wanted to make a test app for the Apple watch in which you can set some String on your phone, and then it will be displayed on the Apple Watch. I decided to use NSUserDefaults class to store this data. </p>
  
  <p>In my view controller for the iPhone I have a method which takes the input and stores into local storage:</p>
  
  <pre><code>- (IBAction)saveInfo:(id)sender {
  
      NSString *userInput = [myTextField text];
  
      NSUserDefaults *defaults = [NSUserDefaults standardUserDefaults];
  
      [defaults setObject:userInput forKey:@"savedUserInput"];
  
      [defaults synchronize];
  
      self.myLabel.text = [defaults stringForKey:@"savedUserInput"];
  }
  </code></pre>
  
  <p>And in my watch interface controller I have a method that retrieves the data and displays it:</p>
  
  <pre><code>- (IBAction)showText2 {
  
      NSUserDefaults *defaults = [NSUserDefaults standardUserDefaults];
  
      [defaults synchronize];
  
      self.myLabel2.text = [defaults stringForKey:@"savedUserInput"];
  }
  </code></pre>
  
  <p>Except for some reason the data I am trying to retrieve is shown as null, and the label is not being updated. </p>