开发者

Is there a way to push a new view in a popoverview controller without making it disappear?

开发者 https://www.devze.com 2023-03-01 03:47 出处:网络
I have a popover view in a splitview and when the user selects an option in th开发者_Go百科e popover menu, I want to push a new list into the popover view.I want the menu to remain visible but it disa

I have a popover view in a splitview and when the user selects an option in th开发者_Go百科e popover menu, I want to push a new list into the popover view. I want the menu to remain visible but it disappears as soon as the user selects an item. Is there a way to keep it visible?


Only need to find this line in your project

[self.popoverController dismissPopoverAnimated:YES]; 

the line written above disapepearing your popover so just comment this line in yr project for that particular popover u declared that u dnt want to let it disappear.

0

精彩评论

暂无评论...
验证码 换一张
取 消