Edit

Share via


UIDocument.RelinquishPresentedItemToWriter(NSFilePresenterReacquirer) Method

Definition

Another request has been made for write access the presented item. (App developers overriding this method must run the writerAction action after releasing the resource.)

[Foundation.Export("relinquishPresentedItemToWriter:")]
public virtual void RelinquishPresentedItemToWriter (Foundation.NSFilePresenterReacquirer writerAction);
abstract member RelinquishPresentedItemToWriter : Foundation.NSFilePresenterReacquirer -> unit
override this.RelinquishPresentedItemToWriter : Foundation.NSFilePresenterReacquirer -> unit

Parameters

Attributes

Remarks

App developers can supply an action to wruterAction that notify the relinquishing process when the requesting object is finished with the resource. Setting this action to null causes the relinquishing app to not reacquire the resource after the requester is finished. In any case, failing to run wruterAction at the end of the override can stop thread execution.

This can be used from a background thread.

Applies to