We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5e5595f + 3900036 commit bafb63bCopy full SHA for bafb63b
Sources/TouchTracker/Cocoa/TouchTrackingUIView.swift
@@ -164,7 +164,7 @@ public class TouchTrackingUIView: UIView {
164
pointWindows[touches.count..<pointWindows.count].forEach {
165
$0.isHidden = true
166
$0.windowScene = nil
167
- $0.removeFromSuperview()
+ $0.uiviewRemoveFormSuperView()
168
}
169
pointWindows = Array(pointWindows[0..<touches.count])
170
Sources/TouchTracker/Extension/UIWindow+.swift
@@ -76,4 +76,10 @@ extension UIWindow {
76
77
78
79
+extension UIWindow {
80
+ func uiviewRemoveFormSuperView() {
81
+ super.removeFromSuperview()
82
+ }
83
+}
84
+
85
#endif
0 commit comments