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

CATextField/CATextView程序崩溃问题 #89

Open
iniwf opened this issue Jun 13, 2015 · 2 comments
Open

CATextField/CATextView程序崩溃问题 #89

iniwf opened this issue Jun 13, 2015 · 2 comments

Comments

@iniwf
Copy link

iniwf commented Jun 13, 2015

在CATextView、CATextField的onTextFieldAttachWithIME、getKeyBoardHeight等回调函数中调用其他类函数程序崩溃,比如说聊天对话框,输入文字后,TableView需要reloadData,在回调中调用的话会崩溃。如果改用CAScheduler::schedule去执行reloadData的话,程序不会崩溃,但有时候不会执行。

@iniwf iniwf changed the title CATextField/CATableView程序崩溃问题 CATextField/CATextView程序崩溃问题 Jun 13, 2015
@9miao
Copy link
Owner

9miao commented Jun 16, 2015

ok,查一下

@9miao
Copy link
Owner

9miao commented Jun 16, 2015

已解决,这本来是个多线程问题,我们现在将代理返回改为了主线程,您的问题也就不复存在了

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

2 participants