PKAddPassButton shows unlocalised title when I run the app on real device with iOS 16. The title is shown as "ADD_PASS_BUTTON_TITLE". It's correct if I run the same build on simulator (I see the title as "Add to Apple Wallet") and also on physical device with iOS 15 it works fine. But wrong title on iOS 16. Does anyone know what the reason could be?
Here is my code:
var applePayButton: UIButton = { let button = PKAddPassButton(addPassButtonStyle: .blackOutline) button.translatesAutoresizingMaskIntoConstraints = false return button }()
And this is the result on iphone with iOS 16.x:
Wrong title for PKAddPassButton button
I tested your code on physical devices.(iOS 16.5 and 16.6.1) But it work just fine.
Could you provide any more clues on how you add button to the parent view?