v = sv.objc_instance
for _ in range(6): v = v.superview()
From some time (iOS 14?), these lines are no more sufficient...
Up to 8 instead of 6 solve the problem, but I have generalized it with
#for _ in range(8): v = v.superview()
UIPanGestureRecognizer = ObjCClass('UIPanGestureRecognizer')
#i = 0
for gr in v.gestureRecognizers():
# comment next line to avoid UIParallaxTransitionPanGestureRecognizer
if gr._get_objc_classname() == b'UIPanGestureRecognizer':
v = v.superview()
I'm sorry I can't give more help, but I'd also explore what happens when you tether an iphone to a Windows 10 computer to share the phones wireless connection. This requires only an ordinary charging cable and installing itunes on the windows machine. I believe it does something similar to rndis networking as well, but have not explored it.
good luck with your project and I hope you get something like this working - all of us could use it...