```extension UIWindow { open override func mot...
# multiplatform
a
Copy code
extension 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?