wendux / DSBridge-IOS

:earth_asia: A modern cross-platform JavaScript bridge, through which you can invoke each other's functions synchronously or asynchronously between JavaScript and native.
1.96k stars 305 forks source link

js掉swift,同步方法 能保证都在主线程吗? #78

Closed John-yuxin closed 5 years ago

John-yuxin commented 5 years ago

您好,我有以下两个问题请教一下 1、js掉swift,同步方法 能保证都在主线程吗? 2、Debug View Hierarchy 查看层级图。有很多层view?

wendux commented 5 years ago
  1. DWKWebView是继承自WKWebview,并没有引入其它View.

    :octocat: From gitme Android

John-yuxin commented 5 years ago

谢谢您。我确认一下; 1、我可以直接更新ui。 2、我看了WKWebview的层级图,的确有很多层WKCompositingView。