Popover inside a popover

狂风中的少年 提交于 2019-12-01 03:04:24

问题


I made a very big mistake, in some instances there will be two popovers on the screen at once. What is the probability of getting my app rejected?


回答1:


From the iOS Human Interface Guidelines:

Ensure that only one popover is visible onscreen at a time. You should not display more than one popover (or custom view designed to look and behave like a popover) at the same time. In particular, you should avoid displaying a cascade or hierarchy of popovers simultaneously, in which one popover emerges from another.

Apple will reject any application that displays two distinct UIPopoverControllers onscreen at once (many people I know have run into this). At first, they let a few applications on the store that did cascading popovers (a popover within a popover), but this language seems to have tightened up, so I'd expect them to not allow this now.




回答2:


Generally, a popover will be dismissed if you tap outside of it, so unless you are using a popover inside of a popover, the situation you describe is impossible. If you are nesting popovers, I suspect that you are correct, it may get your app rejected.



来源:https://stackoverflow.com/questions/5114476/popover-inside-a-popover

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!