Click here to Skip to main content
15,885,216 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi all,

I have recently created a pass for Apple Wallet but I haven't been able to find many resources on customizing it so I have a few questions.

How do you change the font color of certain values? I know you change foregroundColor to change all of the font but I only want to change the font of the primary field, with the rest of the font to remain black.

How do you either customize the barcode or increase the size of the footer image? My pass doesn't have any use for a bar code but instead I would like to put an image in it's place that may link to a website.

Lastly, how do you customize the font sizes and styles? I have provided a URL in the Back Field which I want to be large, bold, black font but the default is a tiny blue, underlined link. How do you override the code for this?

This is my first time working with this and I haven't been able to find many resources online so I apologize for the seemingly obvious questions.
Thanks in advance for your help!

What I have tried:

To change the text color for a certain field, I've tried "valueTextColor" : "rgb(#, #, #)" as well as a few other things with not much luck.

As for the bottom image, right now I just have the image as the footer image but it's really small so if I could just figure out how to increase the size, I think that may work.
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900