Wenyang Zhao

Results 10 issues of Wenyang Zhao

AVPlayerView will disappear after it back to original window, but the video is still playing, and there is no error info printed.

希望可以把存储类型 storage参数的设定放到set函数里面,因为一个页面上基本上都会有localstorage和sessionstorage的数据存储需求,相比初始化两个wsStorage对象,在保存时设定storage参数更灵活。

enhancement

我的需求是为了不影响用户体验,不管数据是否过期先用存储的数据,如果过期了重新获取重新处理一遍,在处理的函数里面使用add函数时发现虽然判断语句内在storage的key 存在时不会set,但是我在add后发现通过get 返回值为true,导致我后面判断是否过期的条件语句内始终不会执行,而且过期时间也在更新,表明数据更新了。我把那个if的条件改成this.storage.getItem(key) 后也就是直接通过localstorage或者sessionstorage取值判断就正常了。

现在无效了,这个项目还在维护吗?

我用wkwebview返回到前面的页面会重新加载,请问用这个能解决吗?

I want to set dominant color as html page background color, and set another color as font color. So , I want to get the color which is most different...

improve docs

我把一个nsview放在一个wkwebview上面,做到了hittest,wkwebview是可以获取点击事件的,但是网页上的元素比如按钮等等是没有反应的,不过右键点击的有反应,我想通过点击的坐标来模拟点击,可是也没有效果,目前还没找到其他有效的办法。

最近初学swift做一个Mac应用,用到了wkwebview,但是遇到一个问题,当打开几个页面后再返回到之前的页面,会重新发送网络请求重载页面,网上查了一下,貌似wkwebview不支持缓存,wkwebview的macOS SDK更加不多,所以想知道这个工具能不能解决这个问题。谢谢!

AVPlayerView will disappear after it back to original window, but the video is still playing, and there is no error info printed.

目前的版本在6.5.8和6.5.10上无效,看简介只支持到6.5.7,希望能继续支持新版微信,谢谢!☘️