ios5 - Character limit for fields on Pass in Apple Passbook -


i'm designing passes using passkit4j. apple passes crop out excessive characters in field value. example if give 25 chars, , if limit 20 last 5 chars gets cropped out.

i looked around apple passbook documentation , passkit documentation detail no luck. tried myself in passkit.com website , identified char limit 20 primary fields.

but nice if documentation around convention/constraint of field length fields in pass.

and there workaround this? reducing font size if characters big?

unfortunately there no workaround this. sizing , truncation of fields controlled proprietary algorithms in passbook app. rendering see on passkit.com our best attempt @ reverse engineering these algorithms. actual number of characters 1 field can contain varies pass type pass type, , affected content of adjacent fields. our service allows allow our users visualise pass on device, although never 100% accurate should test on device.

the problem truncation becomes more acute when dealing user inputted data of variable length, such names. in these cases, better validate or process data before using in pass, otherwise have little control on gets shown , gets cut.

i don't expect there ever official word apple regard these limits. best recommend file bug against documentation, , include detail possible why information essential developers.

i recommend testing pass designs may working on ios7, since rendering algorithms different. this post in developer forums gives more insight differences. (apple developer account required).


Comments

Popular posts from this blog

php - Calling a template part from a post -

Firefox SVG shape not printing when it has stroke -

How to mention the localhost in android -