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
Check the signature of the backPressed
method. I tripped up at first not realizing that @selector(backpressed:)
looks for:
-(void)backPressed:(id)sender { // the colon indicates the first argument
If your signature does not have a sender argument, you will either need to add one or drop the colon in the @selector
. Ie:
-(void)backPressed