tags:

views:

29

answers:

0

Hello All,

I am facing one issue regarding the UIPopoverController. When I execute following

- (void)showPopover:(id)sender 
{
        iPopOver = [[UIPopoverController alloc] initWithContentViewController:nav]; 
        iPopOver.delegate = self;
        [iPopOver presentPopoverFromBarButtonItem:sender permittedArrowDirections:UIPopoverArrowDirectionUp animated:YES];
}

Application crashes and found this error

-[IPadController respondsToSelector:]: message sent to deallocated instance 0xc93b510

Not able to debug this behavior,please help on this.

Thanks,

Sagar