Comments (7)
I feel that it's not a problem. I do this...
#ifdef OS_IOS
AttachGestureRecognizer(EGestureType::DoubleTap, [](IControl* pControl, const IGestureInfo& info){
pControl->SetValueToDefault();
});
#endif
from iplug2.
Double tap is a OS defined gesture on IOS so this way double tapping responds the same way as it does elsewhere in the OS. Not 100% sure but the user might also be able to adjust the timing of double taps in the system settings
from iplug2.
But adding gesture recognizers could be problematic for other interactions, so I didn't think it was a good idea to do it by default for all i controls
from iplug2.
Understood - that's useful clarification - I've gone about it a different way here using OnGesture() for the control and adding the recogniser to IGraphics, but I can't seem to get IOS to respond to the double taps - I see the Objective C style recogniser get attached, but its handler is never called.
from iplug2.
can i close this or do you think it is something we should change?
from iplug2.
I need to ask you some questions so I can check if something is broken here, or if it is just my misunderstanding as I can't get it to work...
from iplug2.
closing due to implementation confusion at my end (no bug but it my approach couldn't work due to reliance on GetWantsGestures - which was non-virtual - this is now fixed in #1058)
from iplug2.
Related Issues (20)
- Studio One 6 crashes with IPlug2 AUv2 HOT 2
- Lanczos resampler uses hard-coded `4`s instead of appropriate varaible `A` HOT 4
- `RealtimeResampler` has errors HOT 12
- iGraphics accessibility HOT 2
- igraphics_select.h doesn't always have platform defined
- Limited input in value field of IVKnobControl
- WAM: Fails with latest emscripten
- WAM: Stop base64 encoding AudioWorklet WASM
- Windows VST3 High-DPI Ableton 10/11: When "Auto-Scale Plug-In Window" is turned off, the plugin is drawn out of bounds HOT 1
- iOS: UITableViewPopup menu bounds should be based on content
- MacOS OpenGLContext leaks ~4MB on window close HOT 1
- WebUI example crashes when double-clicked HOT 4
- IMidiMsg.mOffset HOT 1
- ShowMessageBox mixes up message and caption on mac HOT 2
- Missing color search info the background of IVControls HOT 1
- IOS App plugin never gets deconstructed HOT 5
- Strange behavior IGraphics::Resize in Kushview Element (Windows, VST3)
- Skia METAL bitmap colours appear incorrect HOT 4
- Macos OpenGL: multiple instances clash
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from iplug2.