uipresentationcontroller相关内容

应用程序在 runTransitionForCurrentState 上崩溃,但不知道原因

我试过搜索这个,但没有运气,所以希望有一些大师可能知道答案. 我在 iTunes Connect 中看到我的应用因特定堆栈跟踪而崩溃的大量报告,但堆栈跟踪显示没有任何用处. #0.崩溃:主要0 UIKit 0x1871100c0 __56-[UIPresentationController runTransitionForCurrentState]_block_invoke + 3241 ..

在 UISheetPresentationController 中自定义较小的制动器?

Apple 终于发布了 Apple Maps 风格“底页";2021 年 iOS 15 中的控件:UISheetPresentationController. 这种类型的工作表本身支持 “detents",高度为一张床单自然搁置.默认的 large() 棘爪代表全屏工作表演示,而 medium() 棘爪覆盖大约一半的屏幕. 但是,API 中没有 small() 制动器. Appl ..

结合使用definePresentationContext和UIModalPresentationStyle.custom

我正在使用视图控制器容器来管理一组子视图控制器,这些子视图控制器应该能够以 custom 方式模态呈现其他视图控制器. 我遇到了一个问题,当使用 UIModalPresentationStyle.custom 从视图控制器进行演示时, definesPresentationContext 属性未使用 > 作为一个例子,我有三个视图控制器: ROOT , A 和 B ROOT| _ A ..

如何在自定义UIPresentationController中使用modalPresentationCapturesStatusBarAppearance = NO?

我有一个自定义UIPresentationController,并为自定义viewController演示覆盖了frameOfPresentedViewInContainerView.除了状态栏,一切正常. 我根本不希望状态栏改变外观-它应该保持原样,但它看起来像以前一样.现在是Apple文档: https://developer.apple.com/library/ios/document ..

在iOS 9上进行演示之前,UIPopoverPresentationController应该设置为非nil sourceView或barButtonItem。

我正在尝试使用自定义UIPopoverPresentationController类显示弹出窗口。但是它崩溃并显示错误()应该在演示发生之前设置非null sourceView或barButtonItem。以下是我的按钮单击代码, -(IBAction)showPopup:(UIButton *)sen ..

应用程序在runTransitionForCurrentState上崩溃,但不知道为什么

我已经尝试过搜索,但是没有运气,所以希望有一些大师可能知道答案. 我在我的应用程序的iTunes Connect中看到大量报告因特定的堆栈跟踪而崩溃,但是堆栈跟踪没有显示任何有用的信息. #0. Crashed: main 0 UIKit 0x1871100c0 __56-[UIPresentationController runTr ..