iPhone - accessing unknown getter method in a class
<p>I have this class that has a delegate method. Its delegate has a navigationController.</p>

<p>I am trying to send a message to this navigationController from inside that class. Something like:</p>

<pre><code>[delegate.navigationController setNavigationBarHidden:NO];
</code></pre>

<p>I am receiving the message: <strong>error: accessing unknown 'navigationController' getter method</strong></p>

<p>when I am inside the delegate, I can access its navigationController using</p>

<pre><code>self.navigationController
</code></pre>

<p>How do I set the getter on that class, so this will work?</p>

<p>thanks.</p>
