Ends the specified activity on the current thread.
- iOS 8.0–10.0Deprecated
- macOS 10.10–10.12Deprecated
- UIKit for Mac 13.0–13.0Deprecated
- tvOS 9.0–10.0Deprecated
- watchOS 2.0–3.0Deprecated
The activity to end.
Calling this function signifies only that the originator has received control back from the activity. Work related to the activity may still be in flight at the time this function is called.