MoEngageInAppContainerView
extension MoEngageInAppContainerView: MoEngageInAppWidgetResizingCallbackListnerDelegate
Border management extension for the base container view class
-
Handle widget resize callback to update container borders This ensures borders maintain their visual thickness during resize operations
Declaration
Swift
@MainActor public func resized( to displaySize: MoEngageInAppDisplaySize, in container: MoEngageInAppContainer, xScale: CGFloat, yScale: CGFloat )
Parameters
displaySize
The new display size (minimized/fullscreen)
container
The container in which resizing happened
xScale
The x-axis resize scale factor
yScale
The y-axis resize scale factor