weex icon indicating copy to clipboard operation
weex copied to clipboard

在iOS 设备上,突然所有的动画都没了

Open totzcc opened this issue 9 years ago • 18 comments

在iOS 设备上,突然所有的动画都没了,有人遇到过这个问题吗?

比如。Navigator 的过渡动画 UIAlertController的弹出动画

totzcc avatar Dec 08 '16 01:12 totzcc

@totzcc 重启模拟器试一下, 感觉更像是系统和设备的问题

cxfeng1-zz avatar Dec 08 '16 02:12 cxfeng1-zz

@cxfeng1 我在真机上也会出现这样的问题

totzcc avatar Dec 08 '16 02:12 totzcc

@totzcc 未知失败是哪弹的..

acton393 avatar Dec 08 '16 02:12 acton393

@acton393 不好意思。这个未知失败不是这个问题出现的,让你费解了。这是我自己请求接口的错误

就算这里没有这个“未知失败404” 我还是会出现动画效果被削弱的情况。

我想办法弄一个demo 试试

totzcc avatar Dec 08 '16 02:12 totzcc

这个问题影响到的不止Weex 的动画没有了。 我自己写的UIAlertController 弹出的过渡动画也没了

totzcc avatar Dec 08 '16 02:12 totzcc

@totzcc 你试重新写一个简单的app 的demo看下系统的那那些动画, 还在不, 在模拟器选项中打开showanimation

acton393 avatar Dec 08 '16 02:12 acton393

这个问题太难重现了;我在Gitter.im 上也听说有一个人遇到了我这样的情况 @sliu1126

我尝试找到重现的规律。弄一个demo来复现这个问题

totzcc avatar Dec 08 '16 03:12 totzcc

同样遇到这个问题,暂未找到复现办法

george-luofz avatar Dec 08 '16 13:12 george-luofz

表示官方demo 有时候也会遇到这个问题,动画全部消失,不过这个现象很少看见

liujianying avatar Dec 09 '16 02:12 liujianying

系统版本是多少? iOS 9.3 ?

wilddylan avatar Dec 23 '16 10:12 wilddylan

iOS 10.2。10.1

发自网易邮箱大师 在2016年12月23日 18:57,Dylan 写道:

系统版本是多少? iOS 9.3 ?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.

totzcc avatar Dec 24 '16 00:12 totzcc

我发现当动画消失后。modal 的toast也不见了

totzcc avatar Dec 27 '16 10:12 totzcc

在最新的 iOS SDK 0.9.4 依然存在这个问题

totzcc avatar Dec 27 '16 10:12 totzcc

我成功100%复现了这个问题 复现步骤: 反复的push pop

复现Demo下载地址

@cxfeng1 @acton393 @Jinjiang

totzcc avatar Dec 30 '16 06:12 totzcc

[UIView setAnimationsEnabled:YES]

设置这个,亲测可以解决问题,出现这个情况是系统把应用的动画给强行关闭了,原因不知

funnyN7 avatar Dec 30 '16 08:12 funnyN7

hi @totzcc 我会用你的demo 检查一下,做后续回复

acton393 avatar Dec 30 '16 09:12 acton393

@totzcc 试了一下,应该是由于在有些非主线程中操作UI导致, 已经修复了, 下个新版本会发布, 也可以尝试 iOS-feature-20170118 分支

acton393 avatar Jan 11 '17 06:01 acton393

好的。感谢

发自网易邮箱大师 在2017年01月11日 14:35,acton393 写道:

@totzcc 试了一下,应该是由于在有些非主线程中操作UI导致, 已经修复了, 下个新版本会发布, 也可以尝试 iOS-feature-20170118 分支

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.

totzcc avatar Jan 11 '17 07:01 totzcc