swift - 可以使 Navigationcontroller 快速呈现其原始大小的一半吗
问题描述
我想让 navigationController.present 只是它的一半大小。.modalPresentationStyle
我只能选择类似.fullscreen
或或类似的.automatic
东西。但我不能把它缩小一半。
有人知道解决方案吗?
我不使用情节提要并以编程方式制作所有内容。
解决方案
推荐阅读
- google-apps-script - 编辑 Google 日历邀请的“视频链接”
- amazon-web-services - 如何将访问日志存储在一个 LOG STREAM 中而不是多个?
- c# - 尽管通过代码运行测试,ReSharper dotcover 仍显示 0% 的覆盖率
- spring - redis 的 spring-boot 安全共享会话
- tensorflow - 从保存的 TensorFlow RandomForest 分类器中加载操作
- azure-functions - 时间触发的 azure 函数仅在一个实例上运行
- regex - 匹配anything.c 但不匹配anything.in.c
- python - Python:替换数据框中的字母数字值
- r - 使用 .SD 对 data.table 中的多个变量应用函数时分配新变量
- html - CSS:将 div-Container 放在 div-Container 内