Saturday, July 20, 2024
HomeiOS Developmentios - Switch gestures to view on different UIWindow?

ios – Switch gestures to view on different UIWindow?


I’ve a set-up in my iOS app the place I’ve two UIScreens (and thus two UIWindows) – one on the gadget, and the opposite on an exterior show.

I need the person to have the ability to make a gesture on their gadget that would then be transferred to a UIView on the exterior display.

For instance, if the person scrolls on the view on their display, I might switch it to scroll a UIScrollView on the opposite. I don’t wish to use mirroring, that resolution would not work for my use case, as there are nonetheless variations between the 2 views. I solely wish to move touches.

Different options I’ve discovered appear to solely contain views which might be positioned immediately behind the one receiving the touches, so I am undecided what to do right here. I assume a UIKit resolution would come with UIGestureRecognizer or comparable?

Might anybody level me in the best path right here?

Thanks!



Supply hyperlink

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments