-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Crash When Disabling TouchPose #16
Labels
Comments
bump. I'm getting the same issue. |
toddreed
added a commit
that referenced
this issue
Sep 26, 2016
This refactoring introduces a backwards incompatible API change: the `alwaysShowTouches` and `showTouchesWhenKeyboardShown` properties are now gone, and the semantics of `showTouches` has changed. `showTouches` is now more predictable and reflects whether touches are being rendered or not. `alwaysShowTouches` is sort of replaced by `automaticallyManageTouchesWhenScreenMirrored`, which, if YES, will automatically set `showTouches`. Added a notification (QTouchposeTouchesVisibleDidChange) for monitoring changes to `showTouches`. This resolves #16 and resolves #11.
@toddreed Thank you for the library! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm working on a demo app where I want the user to be able to enable/disable Touchpose. To enable/disable Touchpose I call
where isShowingTaps is a BOOL.
When disabling Touchpose I get a crash in QTouchposeFingerView:removeFromSuperview inside the call to super. This is called from setShowTouches:
The only way I could fix this was to move the animation from QTouchposeFingerView:removeFromSuperview to QApplication:UpdateTouches, and remove the QTouchposeFingerView:removeFromSuperview override.
Like this
The text was updated successfully, but these errors were encountered: