 <p>I solved the same issue with UIViewController categories that is in the common included file. So each UIviewController in its init function calls [self setMyColor]. </p> <p>This is my code:</p> <pre><code>@interface ColorViewController : UIViewController - (void) setMyColor; @end </code></pre>