Replaces a pass in the user’s pass library with the given pass.
- iOS 6.0+
- Mac Catalyst 13.0+
- watchOS 2.0+
Kit (Apple Pay and Wallet)
The new pass.
true if the pass was replaced successfully; otherwise,
The new pass replaces the existing pass with the same pass type identifier and serial number. If there is no such pass in the user’s pass library, the replacement fails.