出现原因:主线程 postNotification ,后 将 object 赋值到 textview.text 出现的错误。
错误信息:*** Assertion failure in void _UIPerformResizeOfTextViewForTextContainer(NSLayoutManager *, UIView<NSTextContainerView> *, NSTextContainer *, NSUInteger)(), /SourceCache/UIFoundation/UIFoundation-258.1/UIFoundation/TextSystem/NSLayoutManager_Private.m:1510
解决方法:
[objc] dispatch_async(dispatch_get_main_queue(), ^{ //写入妳的代码 });[/objc]
Thank you, I’ve recently been looking for information about this
topic for ages and yours is the best I’ve found out till now.
But, what concerning the bottom line? Are you sure about the source?
Hello there, You’ve done an incredible job. I’ll definitely digg it
and personally recommend to my friends. I’m confident they will be benefited from this website.
Have you ever considered about including a little bit more than just your articles?
I mean, what you say is important and everything. But imagine if you added
some great images or video clips to give your posts more, “pop”!
Your content is excellent but with images and clips,
this blog could definitely be one of the very best in its niche.
Terrific blog!
psychologist
psychologist
My partner and I stumbled over here coming from a different web page
and thought I might check things out. I like what I see
so i am just following you. Look forward to looking
over your web page for a second time.