Dispose jistmeet view in iOS

In Android SDK, there is dispose() method which is doing the following.

Releases all resources associated with this view. This method MUST be called when the Activity holding this view is going to be destroyed, usually in the onDestroy() method.

Is there any similar method or way to obtain this functionality in iOS?