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
Is it possible to know when the height of PanModal changes, when it switch between longFormHeight and shortFormHeight ? I've searched but I didn't find how to do it. Thanks
What type of issue is this? (place an x in one of the [ ])
bug
enhancement (feature request)
question
documentation related
testing related
discussion
Requirements (place an x in each of the [ ])
I've read and understood the Contributing guidelines and have done my best effort to follow them.
override func willTransition(to state: PanModalPresentationController.PresentationState) {
if state == .shortForm {
// when in shortForm state
} else {
// When in longForm state
}
}
Description
Is it possible to know when the height of PanModal changes, when it switch between
longFormHeight
andshortFormHeight
? I've searched but I didn't find how to do it. ThanksWhat type of issue is this? (place an
x
in one of the[ ]
)Requirements (place an
x
in each of the[ ]
)The text was updated successfully, but these errors were encountered: