title: MFMessageComposeViewController appearance iOS 7
body: <p>I have an appearance proxy that sets the <code>barTintColor</code> property to green on <code>UINavigationBar</code></p>
  
  <p><code>[[UINavigationBar appearance] setBarTintColor:[UIColor colorWithRed:54./255 green:165./255 blue:53./255 alpha:1]];</code></p>
  
  <p>As needed I override this using <code>appearanceWhenContainedIn:</code> </p>
  
  <p><code>[[UINavigationBar appearanceWhenContainedIn:[INFSearchViewController class], nil] setBarTintColor:[UIColor colorWithWhite:0.80 alpha:1]];</code></p>
  
  <p>This works fine. </p>
  
  <p>However when I present an <code>MFMessageComposeViewController</code> it adheres to the <code>UINavigationBar</code> proxy and looks like the following.</p>
  
  <p><img src="https://i.stack.imgur.com/9ZOcX.png" alt="enter image description here"></p>
  
  <p>Which obviously looks terrible, I would prefer <code>MFMessageComposeViewController</code> to not adhere to the proxy but attempting to do </p>
  
  <p><code>[[UINavigationBar appearanceWhenContainedIn:[MFMessageComposeViewController class], nil] setBarTintColor:[UIColor whiteColor]];</code></p>
  
  <p>has no affect.</p>
  
  <p>What course of action should I take here? </p>