简体   繁体   English

Swift:带有活动表视图的弹出窗口

[英]Swift: Popup with Active tableview

What I would like to do is to show a popup and still be able to interact with the tableview and popup at the same time.我想做的是显示一个弹出窗口,并且仍然能够同时与tableview和 popup 交互。

Interaction: Being able to scroll the tableview and select cells while the popup is shown.交互:能够在显示弹出窗口时滚动tableview并选择单元格。

I have attached a link to a video that does exactly what I am trying to achieve: Video我附上了一个链接到一个视频,它完全符合我想要实现的目标:视频

Any help is appreciated.任何帮助表示赞赏。 Thanks谢谢

Add alertview/popup as subview in your viewcontroller.在您的视图控制器中添加警报视图/弹出窗口作为子视图。 By doing this popup will by controlled by your viewcontroller.通过执行此弹出窗口,将由您的视图控制器控制。

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

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