The header doc of `UIContextualActionHandler` (in UIContextualAction.h) says:pass YES to the completionHandler if the action was actually performed, to show a visual indication of the successful completionBut, as far as I tested, I cannot find any visual indications when returnning true, compared to returning false.(I found some articles saying that some early versions of iOS 11 showed different behavior, but that was considered to be a bug and fixed.)iOS might be using the value internally (or may use it in the future), so you should better pass the appropriate value: true: for the action actually performed, false: otherwiseeven if it makes no difference.
Topic:
Programming Languages
SubTopic:
Swift
Tags: