Display links with custom text on the back of a Passbook Pass (iOS7)

Paul

Paul

On a mission to help all businesses profit from passes.
Share on facebook
Share on twitter
Share on linkedin

In iOS6, Apple allows you to add hyperlinks on the back of the Pass that are automatically displayed as clickable and allow the Pass owner to click on the link and visit that URL.  This provides much convenience for the Pass owner, and also a great way for merchants and businesses to help and encourage their customers to “find out more”, “top up” their stored value card, cross sell, “buy online” or indeed connect their customers to any associated URL that they feel the would add value.
The only trouble has been that these URLs can be quite ugly and not always self explanatory! We are all used to an internet world where we are links are “built into” text or buttons. Like “click here” or “visit this page” for more. Some of our clients have got round the ugly, long URLs by using short codes but these are not always the most friendly URLs and feedback from clients has been they’d prefer links were embedded in appropriate words.
Well, we are pleased to say that Apple has responded to this feedback.
In iOS7 you can add custom text to a hyperlink.
How do you do this?
In exactly the same way you use hyperlink in HTML.  For example “<a href=’https://www.facebook.com/groups/webwednesdayhk/’>Facebook Group</a> would allow the user to click on the words Facebook Group and it would take them to that URL.
Important : Please note the use of single quotes in the HTML attribute.  Using double quotes may result in the link not working.

Custom text on back links on Passbook Pass

PassKit will automatically convert so it displays correctly on iOS6 and iOS7 devices.
Now, iOS7 is only available in beta and only available to Apple Developers but we are opening this feature to all allow developers the ability to play with this new feature.  We want you to be ready and played with the many possibilities ready for the public launch of iOS7 later this year.
You simply use basic HTML Link Syntax in the The PassKit Portal (in the Back Content tab) and it will display correctly on the developer’s iOS7 device. But, here’s the clever part, if someone receives this Pass and are using an iOS6 device – which can only show the URL link and not custom text – the Pass will show the actual URL and the custom text will not be clickable. Ingenious hey?
It’s best explained with a picture.

passback-ios6vios7

And then next best is to give it a go.
So, if you are an Apple Developer and have iOS7 installed on one of your devices, go to the The PassKit Portal, create a Pass (or even use one of the templates from the PassKit homepage) with some links on the back (using standard href HTML markup) and then see how it displays on your iOS7 device and also on iOS6 devices.
You will also notice that the text is larger in iOS7; again this has been widely applauded by our partners and clients. Now Pass owners won’t need glasses to read the back of the Pass!
Everyone can look forward to enjoying this feature in iOS7 Passbook when it’s released this fall. Until then we welcome all developers to explore the new features of iOS7 using the PassKit Pass Designer and the PassKit API.
Please leave comments below. Let us know how you get on and what you think of this enhancement.

Join The Cause

Your subscription could not be saved. Please try again.
Your subscription has been successful.

Related Posts