Abhishek Agarwal
09/04/2023, 3:56 PMextension UIWindow {
open override func motionBegan(_ motion: UIEvent.EventSubtype, with event: UIEvent?) {
if motion == .motionShake {
// Do something
}
}
}
can anybody please help with this how to write this in ios source set in kmm in kotlin?