Is it possible to change the title of PKAddPassesViewController ?

眉间皱痕 提交于 2019-12-02 11:56:27

问题


Every pass, when being added results in PKAddPassesViewController having its title automatically set according to pass type and respecting localization (Generic get "Card", event ticket gets "Event Ticket", store card gets "Store Card" and so on...); but is it possible to change the title?

I've tried setting title property of PKAddPassesViewController instance, but nothing happened, so maybe there is a attribute in pass.json that can control the title (I didn't find one in PassKit specs)?


回答1:


No, there is no way in the current framework that this title can be customised, either by the Pass Kit framework or by a pass.json key.



来源:https://stackoverflow.com/questions/13823607/is-it-possible-to-change-the-title-of-pkaddpassesviewcontroller

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!