In my iOS project I have a screen which allows the user to create apple passes and add it to the wallet. Apple recommends creating "Add to apple wallet" button using PKAddPassButton. When I tried creating apple pass using following code:
let passButton = PKAddPassButton(addPassButtonStyle: PKAddPassButtonStyle.black)
passButton.frame = CGRect(x:45.0, y: 340.0, width: 320, height: 50)
view.addSubview(passButton)
Button has got couple of issues:
- Wallet image is not visible.
- Even after changing the language at device level won't localise the text.
Should I use some custom UIButton to achieve this? Any help is appreciated.