I have an IPhone application in which i am adding a custom view inspite of a navigation bar view.i am hiding that custom view in the normal case and unhide it whenever needed.no
Enable user interaction of curtainsView.
[curtainsView setUserInteractionEnabled:YES]