Passbook: Truncated text in the primaryFields for Train Boarding Passes
| Originator: | nicolas.bouilleaud | ||
| Number: | rdar://21504752 | Date Originated: | 2015-06-23 |
| Status: | Open | Resolved: | |
| Product: | iOS SDK | Product Version: | 9.0 (13A4254u) |
| Classification: | UI/Usability | Reproducible: | Always |
The layout of boarding passes has been designed with air travel in mind, where all the departure and arrivals can be displayed with three-letters codes, like “SFO” or “JFK”. For train travel, especially in continental Europe, this doesn’t work: such short codes simply don’t exist. The consequence is that in Passbook, train station names are very often truncated. Steps to Reproduce: (See attached screenshots for reference and alternative designs) Setup a pkpass for train travel in Europe. As recommended, use the primary fields for departure and arrival. Expected Results: Station names are displayed prominently on the boarding pass. Actual Results: Station names are truncated, even not particularly long ones. Additionally, passbook tries to use a smaller font, making the most important information very small, but even then, it just doesn’t fit. -- Most train stations names are too large to fit in half a screen. We’ve worked on that specific design issue a lot on Capitaine Train (https://itunes.apple.com/fr/app/capitaine-train-achat-billets/id599502670?mt=8) : you can view example of an “origin-destination” cell on the last two screenshots of the store. Basically, two station names will never fit on a single line of text. Attached are two screenshots: * boardingPass.png is setup as an actual "PKTransitTypeTrain" "boardingPass" .pkpass, using the primary fields as intended, for departure and destination; * generic.png isn’t a boarding pass but a "generic" pkpass, and uses a single primaryField with a newline to display the journey. This is not yet ideal, but at least, the station names are visible in full. (We can’t actually use "generic" passes, because they do not appear on the lock screen.) Version: iOS 9.0 (13A4254v) Notes: This isn’t new to iOS 9: the current design of passbook dates from the iOS7, but the layout hasn’t really changed since the beginning of Passbook. Configuration: any device Attachments: 'boardingPass.png' and 'generic.png' were successfully uploaded.
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!