Skip to content
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

Found the crash of iOS, hope to get your help #1266

Open
yanjincheng opened this issue Mar 2, 2023 · 5 comments
Open

Found the crash of iOS, hope to get your help #1266

yanjincheng opened this issue Mar 2, 2023 · 5 comments

Comments

@yanjincheng
Copy link

If the voice control of the system is turned on, it will cause a crash. The current positioning method is:

  • (UIView *)attributedTextContentView:(DTAttributedTextContentView *)attributedTextContentView
    viewForAttachment:(DTTextAttachment *)attachment
    frame:(CGRect)frame {
    }

, I hope you can solve it, thank you, and look forward to your reply!

@ZZiOS
Copy link

ZZiOS commented Mar 2, 2023

Have you solved this problem? It's also bothering me

@duxinfeng
Copy link

duxinfeng commented Jul 10, 2023

See if that solves your problem。 #1272 (comment)

@yanjincheng
Copy link
Author

Thank you, but without actually solving the problem, the problem still exists

@duxinfeng
Copy link

Thank you, but without actually solving the problem, the problem still exists

If you don't need Accessibility events, you can try removing the DTAccessibilityViewProxyDelegate related events in the source code. For now, I have solved it this way first. Let's wait and see if there are better solutions later.

This is an example I modified after forking the repo. duxinfeng@ebd552e

@yanjincheng
Copy link
Author

yanjincheng commented Aug 18, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants