title: How to change color of navigation bar in mfmessagecomposeviewcontroller while presenting it in ios 9
body: <pre><code>        MFMessageComposeViewController *messageController = [[MFMessageComposeViewController alloc]init];
          [UINavigationBar appearance].barTintColor = [UIColor colorWithRed:0.0f/255.0f green:127.0f/255.0f blue:254.0f/255.0f alpha:1.0];
          [[messageController navigationBar] setTintColor: [UIColor whiteColor]];
          messageController.messageComposeDelegate = self;
          [messageController setBody:message];
          [messageController navigationBar].translucent =NO;                                             
          [messageController.navigationBar setBarTintColor:[UIColor colorWithRed:0.0f/255.0f green:127.0f/255.0f blue:254.0f/255.0f alpha:1.0]];
          // Present message view controller on screen
          [self presentViewController:messageController animated:YES completion:^{
          [messageController navigationBar].translucent = NO;
          }];
  </code></pre>
  
  <p>I have been using this code. Please let me know if anything is missing.</p>