Apple provides a dedicated method in Passkit to determine whether the PassLibrary is available:
[PKPassLibrary isPassLibraryAvailable]
This works as expected on iPhone and iPad with one exception: The iPad Air 2 returns YES
but it seems that it does not support any UI to add a pass. Invocation of
[[PKAddPassesViewController alloc] initWithPass:aValidPass]
returns nil
.
Is there any option to check reliably whether PassLibrary, including UI, is available WITHOUT having a pass beforehand?