how to disable user interaction of only main view with out subview
<p>I did a simple view based application.</p>

<p>I need to place three textfields in an alert view.</p>

<p>it is not possible According to UI guidelines.</p>

<p>So that i crate a view just like an alert view,And place text field in them.</p>

<p>Add it as subview to mainview while tap on a button.</p>

<p>Now what i need is when ever tap on button i need to disable userinteraction to main view,and enable userinteraction to the subview.</p>

<p>For that i am trying this code on button click event.</p>

<pre><code>[object.viewController.view setUserInteractionEnabled:NO];
</code></pre>

<p>here object is object of appdelegate class.</p>

<p>But,if i place this it disables userinteraction of subview also.</p>

<p>But i need to disable for only main view.</p>

<p>i think people get what my problem,</p>

<p>if not let me add a comment.</p>

<p>Thank u in advance.</p>
