You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How is the completion handler parameter below intended to work?
public func animate(withGIFNamed imageName: String, loopCount: Int = 0, completionHandler: (() -> Void)? = nil)
Per the api docs it says: completionHandler | Completion callback function
The issue is that the completion handler is fired immediately and not when the animations are finished. Seems that the completionHandler is being used by prepareForAnimation and therefore firing immediately. Is this by design?
How is the completion handler parameter below intended to work?
public func animate(withGIFNamed imageName: String, loopCount: Int = 0, completionHandler: (() -> Void)? = nil)
Per the api docs it says:
completionHandler | Completion callback function
The issue is that the completion handler is fired immediately and not when the animations are finished. Seems that the completionHandler is being used by prepareForAnimation and therefore firing immediately. Is this by design?
Link to the API
The text was updated successfully, but these errors were encountered: