You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 3, 2025. It is now read-only.
当我设置了shortFormHeight和longFormHeight,我想初始化的时候以longFormHeight的高度弹起,目前只能先设置shortFormHeight和longFormHeight一样,然后在viewDidAppear里调用panModalSetNeedsLayoutUpdate()去更新shortFormHeight,有点麻烦,需要控制器里保存一个flag用于判断,直接初始化就设定就好了:目前这样
var initFormHeight: PanModalPresentationController.PresentationState {
return PanModalPresentationController.PresentationState.longForm
}