存折更新通知消息

Passbook Update Notification Message

更新通行证时设备上显示的通知消息有一个小问题。我希望消息是我在 Pass Structure Dictionary Keys. Instead what is displayed is what I am assuming to be the default change message which is "Coupon changed". I have "changeMessage" key in the "backFields" key. I have set the value of that key to some text of my own (which does not include "%@" as said in the description of key here 之一的 "changeMessage" 中设置的内容。

由于我正在处理的要求,我不能在那里使用 "%@",因为它只会用 "value" 键的整个值替换它。那么还有什么办法可以做到这一点吗?

除非消息中出现 %@,否则您只会看到您所描述的通用消息 "Coupon Changed"

如果您不想显示字段值,那么您可以包含您想要的消息,然后在以 %@ 结尾之前用空格填充。空格将确保该值不会显示在锁定屏幕上,应该有助于实现您的目标。