UI Animation completion blocks always triggered immediately
| Originator: | wangjammer5 | ||
| Number: | rdar://14829778 | Date Originated: | 25-Aug-2013 04:29 PM |
| Status: | Open | Resolved: | |
| Product: | iOS SDK | Product Version: | iOS 7 beta 11a4449d |
| Classification: | Serious Bug | Reproducible: | Always |
Summary: Calling [UIView animateWithDuration:animations:completion always immediately calls completion block. Steps to Reproduce: See forum post https://devforums.apple.com/thread/201204?tstart=0 Another user posted this and it is is an exact duplicate of behaviour I found and worked around using a timer instead. Expected Results: completion should be called after the animation duration, with finished = YES Actual Results: completion is called immediately even with a duration of many seconds, with finished = YES Regression: I have not seen this in previous version of iOS but cannot be sure. Notes:
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!