tags:

views:

64

answers:

0

Hello All,

I am working on IPad application. As per requirement On detail page of SplitviewController I am adding one customized UIBarButtonItem leftbar button on navigation bar.

Now in Portrait mode when I click this button I am getting following error

Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'Popovers cannot be presented from a UIBarButtonItem that is not in a toolbar or navigation bar already.'

Can one please help on this ????

Thanks,

Sagar