将VC作为VC的全屏展示,该VC的模型式风格是自动的
IM试图以ModalPresentationStyle为.fullscreen提出一个新的视图控制器,该视图控制器的示意图是.automatic。
我为.fullscreen添加了新的VC的模态式风格,但它仅与旧VC匹配。我如何实现同样的事情。我正在使用Swift 5.提前感谢
Im trying to present a new view controller with modalPresentationStyle as .fullscreen from a view controller whose modalPresentationStyle is .automatic.
I added the modalPresentationStyle for the new VC as .fullscreen.But its coming as matching to the old VC only. How can I achieve the same. Im using swift 5.Thanks in advance
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这应该可以做到...
使用
.overFullScreen
而不是.fullScreen
This should do it...
use
.overFullScreen
instead of.fullScreen