Closed chenyunguiMilook closed 3 years ago
Thanks that looks correct. Could you make a pull request for this and add a test?
No problem!
Thanks, @chenyunguiMilook!
closing this because https://github.com/flowkey/UIKit-cross-platform/commit/196ab113ab457a2c393689317b9fe6c067c75fd7 was merged. Thanks @chenyunguiMilook
https://github.com/flowkey/UIKit-cross-platform/blob/0e44ce485bf0e85fc161e1427970760dc2ff951e/Sources/UIView.swift#L211 should be if view.superview != nil { view.removeFromSuperview() } ?