Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

RagingGoat

macrumors 6502
Original poster
Jun 21, 2010
307
15
I am starting to look at adding the ability to display a membership card in one of my apps. The user would enter their name and membership number. Those values would be passed to a SQL query executed by a PHP script which would return the results as JSON. What I need to figure out is how to display the membership card with that users info from the parsed JSON. There will also be an option to save the card so that the user can pull their card up within the app without having to put in their name and membership number each time. I know how to go about saving the info to user defaults. I just need to figure out how to display the card with the right info.
 
Are you talking about an image with customer data on it?

You can take an image and do an overlay or modify the image.

Maybe you have a link to the kind of image/display you're talking about.
 
I was thinking I would modify the image or overlay the info on an image of the card. I'm just not sure how to go about it.
 
it's just a form with a background. Approach it that way, the final look will come down to your design/gfx skills for the card.
 
There are plenty of examples out there that show how to display an image then write on the image.

It sounds like you could display the blank image, then show text or other images over that image. Probably with a clear or matching background.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.