简体   繁体   English

这个弹出对象在iOS中叫什么?

[英]What is this popup object called in iOS?

What is the pop-up object used in the Apple's "Clock" app for iPad called? Apple的iPad“时钟”应用程序中使用的弹出对象是什么?

The popup looks similar to a MapKit callout, but often comes out of the side of a clicked button. 弹出窗口看起来类似于MapKit标注,但通常来自单击按钮的侧面。 Apple uses the pop-up often to display pickerViews on iPad. 苹果经常使用弹出窗口在iPad上显示pickerViews。 I am wanting to use it also for iPad applications in Swift, but I cannot find the name anywhere in documentation or on StackOverflow--because I don't know what it is called and it is thus hard to find. 我想将它也用于Swift中的iPad应用程序,但是我无法在文档中或StackOverflow上的任何地方找到该名称-因为我不知道它叫什么,因此很难找到它。

I already know that some may not like the simplicity of this question, but I have seriously tried and have looked through books and other documentation trying to identify what the name of it, but it is so hard to find it without knowing the name! 我已经知道有些人可能不喜欢这个问题的简单性,但是我已经认真尝试并仔细阅读了书籍和其他文档,试图确定它的名字,但是在不知道名字的情况下很难找到它! (I've included an image of the object just to be clear, but, unfortunately, I don't have the 'reputation' for the image to show up automatically in StackOverflow) (为了清楚起见,我已经包含了该对象的图像,但是,不幸的是,我没有“声誉”,因此该图像无法自动显示在StackOverflow中)

Image: The Object/PopUp item used in the "Clock" App. 图像:“时钟”应用程序中使用的对象/弹出菜单项。

The object is a Popover, as identified by Dan. 对象是Dan标识的Popover。

Thank you those who contributed. 谢谢那些贡献者。

您必须在谈论UIDatePicker。

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

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