刷新 UIwebview 没有任何震动? [英] Refresh UIwebview without any shaking?

查看:35
本文介绍了刷新 UIwebview 没有任何震动?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

目前我正在使用以下代码刷新 webview

Currently iam refreshing webview using the following code

[webview reload];

但是在这种情况下,当我打开那个视图控制器时,我可以看到视图控制器中 UIWebview 的突然移动(摇晃或跳跃).有没有办法在后台刷新我的意思是没有任何变化在 webview 运动中?

but in this case when i open that viewcontroller i can see a sudden movement(shake or jump) of UIWebview in viewcontroller .Is there any way to to this refresh in background i mean without any change in webview movement?

推荐答案

您的 van 执行与后台线程相同的刷新功能,因此它会起作用.

You van do the same refresh functionality as a background thread,So it will work.

这篇关于刷新 UIwebview 没有任何震动?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆