Application terminated due to Popover

I am working on an iPad application. On Demand On the SplitviewController details page, I add one custom button to the left of the UIBarButtonItem panel in the navigation panel.

Now in portrait mode, when I press this button, I get the following error

Application termination due to the non-displayable exception 'NSInvalidArgumentException', reason: 'Travelers cannot be represented from UIBarButtonItem, which is not in the toolbar or the navigation bar already.'

Can anyone help with this?

Thank,

Sagar

+3
source share
1 answer

, , UIButtonItem . , .

.

+1

Source: https://habr.com/ru/post/1754605/


All Articles