【发布时间】:2016-07-25 17:09:46
【问题描述】:
我不知道如何在 Xcode 中做到这一点,也许是使用 Interface Builder 或 programmaticaly ?
我想显示这样的模式:
我可以用 pod 做到这一点,但我想创建自己的模态
【问题讨论】:
标签: swift xcode modalviewcontroller
我不知道如何在 Xcode 中做到这一点,也许是使用 Interface Builder 或 programmaticaly ?
我想显示这样的模式:
我可以用 pod 做到这一点,但我想创建自己的模态
【问题讨论】:
标签: swift xcode modalviewcontroller
我总是在 Storyboard 中制作这种模式。将视图控制器的视图设置为黑色背景色,alpha 小于 1。还要确保将 modalPresentationStyle 设置为 Over Current Context。
【讨论】: