Instance Method

endAccessingResources()

Informs the system that you have finished accessing the resources marked with the tags managed by the request.

Declaration

func endAccessingResources()

Discussion

Call this method as soon as you have finished using the tags managed by this request. If needed, this method will be called by the system when the resource request object is deallocated.

See Also

Requesting Resources

func beginAccessingResources(completionHandler: (Error?) -> Void)

Requests access to the resources marked with the managed tags. If any of the resources are not on the device, they are requested from the App Store.

func conditionallyBeginAccessingResources(completionHandler: (Bool) -> Void)

Checks whether the resources marked with the tags managed by the request are already on the device. If all of the resources are on the device, you can begin accessing those resources.