-
Notifications
You must be signed in to change notification settings - Fork 100
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
Canvas view is not recognising touches after coming from background (device: iPad) #24
Comments
Thanks for the report. If you disable asserts it probably won't crash in release builds. :-) I'll look into it when I get a chance. |
@Kiran-appitventures If you disable the assert, does the app keep working normally? It should. So this won't affect production builds. Still worth a look, of course! |
Would you mind trying this branch to see if it fixes the issue? #32 |
Hello, I have same problem testing on iPad Air 2 |
OK, did you also try my suggestion? Did it work? Did you try the branch I linked to to see if it fixed the issue? |
@stevelandeyasana I just test with the branch with the fix but still crashes but on different line
|
may helpfull as quick fix.. As drawing is not happening when app resigns active screen.. temporarily done workaround. In Drawsana: panGR as global variable public func resetPanGR() { In my DrawingVC calling this: |
When the app is sent to background via sliding from the bottom and then opening the app, the touches are not recognizing again and getting below crash.
assert(false, "State not handled")
(DrawsanaView.swift -> 302 line)The text was updated successfully, but these errors were encountered: