The background:
As talked about in earlier posts, I am rewriting an older Mac kaleidoscope producing app written in Goal C and OpenGL as a multi-platform macOS/iOS/iPadOS app in SwiftUI and Metallic.
Within the current Mac app, customers can see the supply picture with the triangular part that they use to create their kaleidoscope. There may be additionally a "rotation level" on the supply picture that this system makes use of as a "pivot level" to rotate the "supply triangle" round within the supply picture.
They’ll click on and drag to edit the scale, location, and orientation of the "supply triangle" In the event that they click on and drag outdoors of the triangle, this system pivots the supply triangle across the above-mentioned "pivot level". In the event that they as an alternative option-drag, this system rotates the supply triangle round its heart.
Within the Mac model of the multi-platform app, I can use the code `NSEvent.modifierFlags` to seek out the modifier keys that have been pressed on the time my drag gesture recognizer fires. Here’s a screenshot of the prevailing Mac app:

The query:
Is there an equal perform in iOS for individuals who are utilizing a keyboard? And is that even the precise strategy to design the UX for iOS? Not many individuals have keyboards connected to their gadgets.
Do readers of this query have recommendations of a extra iOS-like equal of dragging vs. option-dragging?

