Instance Method

remove(_:)

Removes an observer from the payment queue.

Declaration

func remove(_ observer: SKPaymentTransactionObserver)

Parameters

observer

The observer to remove.

Discussion

If there are no observers attached to the queue, the payment queue does not synchronize its list of pending transactions with the Apple App Store, because there is no observer to respond to updated transactions.

See Also

Adding and Removing the Observer

func add(SKPaymentTransactionObserver)

Adds an observer to the payment queue.