简体   繁体   English

iBooks样式设置弹出窗口

[英]iBooks style settings popup window

Does anybody know how it has been realized? 有人知道它是如何实现的吗? I have found many topics about popups for iPhone (alert style, etc.), but this case is more complicated for my opinion. 我发现了许多有关iPhone弹出窗口(警报样式等)的主题,但我认为这种情况更为复杂。 In iBooks we see shadows, arrow and borders. 在iBooks中,我们看到阴影,箭头和边框。 This window closes after tapping outside borders. 点击外部边界后,此窗口关闭。

PS Can't post image here, but I have found an example: http://chamberfour.com/wp-content/uploads/2011/12/ibooks.jpg PS无法在此处发布图片,但我找到了一个示例: http : //chamberfour.com/wp-content/uploads/2011/12/ibooks.jpg

Well, back some time ago I had to face a similar problem. 好吧,前段时间我不得不面对类似的问题。 Strictly speaking, what we see there is a popover , but the documentation explicitly states that UIPopoverController may only be used in an iPad application so you will probably have to do what I did: implement your own or, perhaps better, find an open source implementation (there should be plenty of them out there). 严格来说,我们看到的是一个popover ,但是文档明确指出UIPopoverController只能在iPad应用程序中使用,因此您可能必须做我所做的事情:实现自己的实现,或者更好的是,找到一个开源实现(那里应该有很多)。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM