MoEngageInAppWidgetResizingCallbackListnerDelegate
@objc
public protocol MoEngageInAppWidgetResizingCallbackListnerDelegate
Listen to widget resize callback.
-
Handle widget resize.
Declaration
Swift
func resized( to displaySize: MoEngageInAppDisplaySize, in container: MoEngageInAppContainer, xScale: CGFloat, yScale: CGFloat )
Parameters
displaySize
The new size.
container
The container in which reszing happened.
xScale
The x-axis resize scale.
yScale
The y-axis resize scale.