Skip to Content

Apple's Autoscanning iTunes Card Promo Codes Work via Hidden Font, Can be Replicated by Devs

When you purchase an iTunes gift card and redeem it in the App Store, the camera on your iPhone, iPad, or Mac can scan the code on the card to recognize it automatically, saving you the time of typing the numbers in manually.

Equinux, the company behind Mail Designer Pro 3, dug into how Apple's promo code engine works in an effort to make their own scannable cards, and the results are quite interesting. As it turns out, the scanning feature in the App Store is tuned to recognize two things: a unique, hidden font and the dimensions of the box around it.

itunescardpromocode
Equinux tried the box alone with a range of fonts like Courier and Monaco, and attempted to identify the unique characteristics of the font to find it, but were unsuccessful. Ultimately, the team realized the font that Apple's using is hidden deep within iTunes.

The breakthrough came when we noticed that when you scan a card with your iPhone, the app briefly displays a "scanned" overlay of the code. This means the font must be embedded in the app somewhere. We tried the same with iTunes on macOS. And voila - the iTunes on Mac behaves the same way.

When you look at some of the other folders inside iTunes, we found a tantalizing plugin called "CodeRedeemer." It showed promise. But alas, no font files there either. The app binary does give a hint of where the heavy lifting is being done: "CoreRecognition.framework."

Hidden in the CoreRecognition.framework, there are two fonts: "Scancardium," for entering and recognizing codes, and "Spendcardium," which appears to be for obscuring credit card details as they're entered. The two fonts can be found by going to Finder on a Mac, clicking Go, choosing Go to Folder and pasting the following: /System/Library/PrivateFrameworks/CoreRecognition.framework/Resources/Fonts/

With a simple double click, the fonts can be installed on a Mac and can be used within different apps. While this is a neat breakdown for end users, it's of particular interest to developers because these fonts can be used to create custom App Store promo code cards that can be scanned in the same way as iTunes gift cards.

appstorepromocodecustom
Equinux outlines the exact font height to use and how to position it within the surrounding box to get Apple's engine to recognize it, details the company uncovered after investing a lot of time in tweaking fonts and the border of the required box.

Equinux even went one step further and created helpful Sketch and Photoshop templates that developers can use to create App Store promo code cards that can be automatically scanned using a device camera and recognized by the App Store.

Related Forum: Mac Apps

Popular Stories

Apple Loves Pokemon

Apple Celebrates Pokémon With iPhone Wallpapers and Special Gift Card

Monday November 16, 2026 11:11 am PST by
Apple has announced that it is celebrating the 30th anniversary of Pokémon in a variety of ways starting today — primarily in Japan. First, Apple is selling Pokémon Special Edition gift cards featuring Applin until November 30 at all Apple Store locations in Japan. The cards can be loaded with ¥1,000 to ¥250,000, and there is a limit of three per customer while supplies last. Second,...
Apple Says Over 100000 Apps Optimized for iPhone Duo But These Are Still Missing Feature 1

Apple Says More Than 100,000 Apps Optimized for iPhone Duo, Here's What's Still Missing

Friday November 6, 2026 9:18 am PST by
Apple today announced that more than 100,000 apps have been optimized for the iPhone Duo, released two weeks ago. We confirmed that this figure refers to apps built with the iOS 27.1 SDK or later, meaning these apps fill the full width of the iPhone Duo's inner and outer displays and have vertical controls in the status bar. A statement from Susan Prescott, Apple's Vice President of...
iOS App Store Icons

Apps Can Now Try to Stop You From Canceling Subscriptions

Wednesday November 4, 2026 3:58 pm PST by
Apple today added a new subscription retention feature for developers, allowing them to show retention messages when a subscriber goes to cancel. Apple says retention messages will appear in the subscription cancellation flow and can include text, images, or a special offer. Retention messages can be added in App Store Connect for auto-renewable subscriptions, with options for subscriber...

Top Rated Comments

122 months ago
Is it legal to use the font in your own promo materials?
Score: 10 Votes (Like | Disagree)
cateye Avatar
122 months ago
There's nothing "secret" about using a font this way. There have been specialty fonts that make for easy and reliable optical character recognition (OCR) via "fuzzy" recognition (e.g. using a photograph) for years. Apple may have developed their own font for whatever reason, but there are literally dozens of speciality typefaces that allow for this. Barcodes work this way as well. Microsoft made a stink at one point how you could hold up a MS gift card in front of a Kinect and have it read similarly quickly. It's a bit of a parlor trick, but does save you from having to type in all those letters and numbers.
Score: 8 Votes (Like | Disagree)
122 months ago
Probably the same one that's used for scanning HomeKit keys as well, the font looks similar.
Score: 8 Votes (Like | Disagree)
122 months ago
Apple technology, not always the first, but they make sure they always try to make it the best!
Score: 5 Votes (Like | Disagree)
122 months ago
Since one can only presume that font is licensed by Apple, not sure how developers would be able to use it legally unless Apple some day officially extends the feature to develops and open sources the font.
Score: 4 Votes (Like | Disagree)
winglet69 Avatar
122 months ago
Feels like someone invested a lot of time into something with a very small benefit.
Uh...you've just described most hacking. I take it then, you place little value on problem-solving or learning something you didn't already know. Good thing there are still inquisitive people or we'd all still be scribbling on cave walls.

:D
Score: 3 Votes (Like | Disagree)
Latest Stories
The 50+ Best Apple Black Friday Deals Still Available on AirPods, iPads, and More
The 50+ Best Apple Black Friday Deals Still Available on AirPods, iPads, and More
1 hour ago
Here Are the Best Apple Black Friday Leftover Deals You Can Get Today
Here Are the Best Apple Black Friday Leftover Deals You Can Get Today
3 minutes ago
HomePod Mini 2 in (RED) Seemingly Spotted Ahead of Announcement
HomePod Mini 2 in (RED) Seemingly Spotted Ahead of Announcement
11 hours ago
Apple's M6 and PROLED MacBook Pro Reach New Low Prices for Black Friday
Apple's M6 and PROLED MacBook Pro Reach New Low Prices for Black Friday
22 hours ago
The MacRumors Show: iPhone Air 2 and iPhone 18 Are Coming
The MacRumors Show: iPhone Air 2 and iPhone 18 Are Coming
22 hours ago
Apple Store in Brisbane Reopening Next Month With New Design
Apple Store in Brisbane Reopening Next Month With New Design
22 hours ago
The 60+ Best Black Friday Accessory Deals on iPhone Chargers, TVs, Headphones, and More
The 60+ Best Black Friday Accessory Deals on iPhone Chargers, TVs, Headphones, and More
23 hours ago
GTA VI Now (Barely) Running on Apple Silicon Macs
GTA VI Now (Barely) Running on Apple Silicon Macs
23 hours ago
The Best Black Friday Streaming Deals on Apple TV, Disney+, and More
The Best Black Friday Streaming Deals on Apple TV, Disney+, and More
1 day ago
Apple TV's 'Carême' Wins International Emmy for Best Drama
Apple TV's 'Carême' Wins International Emmy for Best Drama
1 day ago
iPhone 18 Production Delay Leaves Apple Little Time Before Launch
iPhone 18 Production Delay Leaves Apple Little Time Before Launch
1 day ago
The Best Black Friday AirPods Deals Still Available
The Best Black Friday AirPods Deals Still Available
17 hours ago
The Best Black Friday Deals on Apple Home Products
The Best Black Friday Deals on Apple Home Products
1 day ago
The Best Black Friday iPhone Deals Still Available
The Best Black Friday iPhone Deals Still Available
17 hours ago
The Best Black Friday iPad Deals Still Available
The Best Black Friday iPad Deals Still Available
17 hours ago
The Best Black Friday Apple Watch Deals Still Available
The Best Black Friday Apple Watch Deals Still Available
17 hours ago
The Best Black Friday AirTag Deals Still Available
The Best Black Friday AirTag Deals Still Available
17 hours ago
The Best Black Friday Mac Deals Still Available
The Best Black Friday Mac Deals Still Available
17 hours ago
iPhone Share of US Smartphone Market Hits 57% as Rivals Slip
iPhone Share of US Smartphone Market Hits 57% as Rivals Slip
1 day ago
iPhone 20 Pro Rumored to Feature 3D-Printed Titanium Frame
iPhone 20 Pro Rumored to Feature 3D-Printed Titanium Frame
1 day ago
Apple's Official 2026 Black Friday Offer Starts Rolling Out
Apple's Official 2026 Black Friday Offer Starts Rolling Out
2 days ago
Halide Adds Fill Light Feature for iPhone Duo
Halide Adds Fill Light Feature for iPhone Duo
2 days ago
MacBook Air Black Friday Deals Now Live With Massive $399 Savings
MacBook Air Black Friday Deals Now Live With Massive $399 Savings
2 days ago
Amazon Discounts All MacBook Neo Models by $99 for Black Friday
Amazon Discounts All MacBook Neo Models by $99 for Black Friday
2 days ago
Kodak Launches Unique AirTag Rival With E-Ink Display
Kodak Launches Unique AirTag Rival With E-Ink Display
2 days ago
Here's Why the Apple Store is Going Down
Here's Why the Apple Store is Going Down
2 days ago
Apple Still Working on Giant Foldable iPad That Could Cost $5,000
Apple Still Working on Giant Foldable iPad That Could Cost $5,000
2 days ago
iPhones Dominate China's Weak Singles' Day Smartphone Sales
iPhones Dominate China's Weak Singles' Day Smartphone Sales
2 days ago
iPhone 20 Pro Could Feature Ceramic in Limited-Edition Model
iPhone 20 Pro Could Feature Ceramic in Limited-Edition Model
2 days ago
Apple Faces Korean Regulator Review Over iPhone 16 AI Advertising
Apple Faces Korean Regulator Review Over iPhone 16 AI Advertising
2 days ago
Related Apple News: Productred | Apple Tv Deals | Iphone 16 Pro Vs 18 Pro | Bluetti Elite 10 Power Station | Mark Gurman