We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
关闭拦截器调用本地的资源路径的gif图片,gif不会动。 打开拦截器调用调试服务器上的gif是可以动的。 代码如下:
<image class="messageEgg" src="bmlocal://assets/index/egg@2x.gif" @click="annualBegin"></image>
例子: 开发平台:mac node 版本:v7.2.0 npm 版本:5.6.0 调试类型:模拟器/真机都是 调试系统版本: ios 全版本 (android 没看) 开发工具及其版本 xcode 9
例子:
例: gif的原理是图片叠加, ios中单单用imageWithContentsOfFile 应该只会读出gif的第一张 -->WXImgLoaderDefaultImpl
NSString *imgPath = [NSString stringWithFormat:@"%@/%@%@",K_JS_PAGES_PATH,imgUrl.host,imgUrl.path]; UIImage *img = [UIImage imageWithContentsOfFile:imgPath]; NSError *error = nil; ....
建议针对.gif后缀的图片进行特殊处理。
例:百分百复现,调用即复现。
The text was updated successfully, but these errors were encountered:
已修复,更新ios依赖 eros install --ios
Sorry, something went wrong.
xiaohuapunk
No branches or pull requests
简略的描述你的问题。
关闭拦截器调用本地的资源路径的gif图片,gif不会动。
打开拦截器调用调试服务器上的gif是可以动的。
代码如下:
环境信息
尽可能写下你对问题的分析,你觉得可能是由于什么造成的。
建议针对.gif后缀的图片进行特殊处理。
什么场景下会复现这个问题,复现率是多少。
The text was updated successfully, but these errors were encountered: