WeexSDK第一次渲染textarea组件在iOS端有卡顿情况

我在尝试weex的时候,碰到和这位大兄弟一样的问题。
https://github.com/apache/inc...

使用的weex版本是 0.28.0,也依然存在这个问题。

有没有哪位兄弟也碰到过?求指点迷津~

而且还出现类似这样的错误信息:

2019-12-29 23:19:54.618318+0800 weextoolkit[9827:2216298] [reports] Main Thread Checker: UI API called on a background thread: -[UITextView font]
PID: 9827, TID: 2216298, Thread name: com.taobao.weex.component, Queue name: com.apple.root.default-qos.overcommit, QoS: 0
Backtrace:
4 weextoolkit 0x0000000100fc570c __35-[WXTextAreaComponent measureBlock]_block_invoke + 340
5 weextoolkit 0x0000000100e7293c ZL18flexCssNodeMeasurePN8WeexCore16WXCoreLayoutNodeEfNS_11MeasureModeEfS2 + 336
6 weextoolkit 0x0000000100d6d188 _ZN8WeexCore16WXCoreLayoutNode15measureLeafNodeEffbb + 304
7 weextoolkit 0x0000000100d6cb08 _ZN8WeexCore16WXCoreLayoutNode19hypotheticalMeasureEffb + 116
8 weextoolkit 0x0000000100d6dca4 _ZN8WeexCore16WXCoreLayoutNode12measureChildEPS0_fffbb + 364
9 weextoolkit 0x0000000100d6ccd4 _ZN8WeexCore16WXCoreLayoutNode19measureInternalNodeEffbb + 404
10 weextoolkit 0x0000000100d6cae4 _ZN8WeexCore16WXCoreLayoutNode19hypotheticalMeasureEffb + 80
11 weextoolkit 0x0000000100d6ba6c _ZN8WeexCore16WXCoreLayoutNode7measureEffb + 68
12 weextoolkit 0x0000000100d6b410 _ZN8WeexCore16WXCoreLayoutNode15calculateLayoutERKNSt3__14pairIffEE + 252
13 weextoolkit 0x0000000100deb978 _ZN8WeexCore10RenderPage15CalculateLayoutEv + 116
14 weextoolkit 0x0000000100def884 _ZN8WeexCore10RenderPage11LayoutInnerEv + 28
15 weextoolkit 0x0000000100def970 _ZN8WeexCore10RenderPage17LayoutImmediatelyEv + 40
16 weextoolkit 0x0000000100d2b154 _ZN8WeexCore18CoreSideInPlatform11ForceLayoutERKNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEE + 72
17 weextoolkit 0x0000000100ec1b34 +[WXCoreBridge layoutPage:forced:] + 424
18 weextoolkit 0x0000000100ea0e60 -[WXComponentManager _layout] + 156
19 weextoolkit 0x0000000100ea0d38 -[WXComponentManager _layoutAndSyncUI] + 40
20 weextoolkit 0x0000000100ea0a20 -[WXComponentManager _handleDisplayLink] + 352
21 weextoolkit 0x0000000100ea2170 -[WXComponentManager handleDisplayLink] + 40
22 weextoolkit 0x0000000100ee4b64 -[WXDisplayLinkManager _handleDisplayLink] + 304
23 GPUToolsCore 0x00000001020695f8 -[DYDisplayLinkInterposer forwardDisplayLinkCallback:] + 168
24 QuartzCore 0x00000001a2ebb88c 84C3CD6E-F832-3F6F-BE62-5A4348853273 + 71820
25 QuartzCore 0x00000001a2f85694 84C3CD6E-F832-3F6F-BE62-5A4348853273 + 898708
26 CoreFoundation 0x000000019c4e38ac 1B9B1E61-8CB4-3903-9870-402C3DE959BB + 526508
27 CoreFoundation 0x000000019c50d07c 1B9B1E61-8CB4-3903-9870-402C3DE959BB + 696444
28 CoreFoundation 0x000000019c50c7a8 1B9B1E61-8CB4-3903-9870-402C3DE959BB + 694184
29 CoreFoundation 0x000000019c50767c 1B9B1E61-8CB4-3903-9870-402C3DE959BB + 673404
30 CoreFoundation 0x000000019c506adc CFRunLoopRunSpecific + 464
31 Foundation 0x000000019c8467f4 503900AF-2ECD-329F-B742-C07C3E672BEB + 30708
32 weextoolkit 0x0000000100e93c38 -[WXComponentManager _runLoopThread] + 332
33 Foundation 0x000000019c9770a4 503900AF-2ECD-329F-B742-C07C3E672BEB + 1278116
34 libsystem_pthread.dylib 0x000000019c2a9d8c _pthread_start + 156
35 libsystem_pthread.dylib 0x000000019c2ad76c thread_start + 8

阅读 1.6k
撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进