How do I call a method present in root view controller from my second view controller?
<p>when iam trying to call</p>

<pre><code>rootviewcontroller *rootview=[rootviewcontroller alloc];
[rootview methodname];
</code></pre>

<p>is showing warning  "root view controller may not respond"</p>
