Notifies the system that your activity object has completed its work.
- iOS 6.0+
- Mac Catalyst 13.0+
trueif the service executed to completion or
falseif the service was canceled or did not finish because of an error.
This method dismisses the sharing interface provided by the
UIActivity object. If you provided a view controller using the
activity method, this method dismisses that view controller too.
You must call this method after completing the work associated with this object’s service. This is true regardless of whether you used the
perform() method to initiate the service. When calling the method, use the Boolean value to indicate whether the service completed successfully.
This method must be called on the main thread.