vendredi 2 janvier 2015

Can we change the icon and name of shortcut created in iPhone programmatically

In my app am creating the shortcut through an api. I need to change the image and name of created shortcuts. The functionality is these shortcuts will take you back into the app and show the profile of a particular user. So, is it possible to change the icon and name of that shortcut programmatically? I googled this and found that I can not change the icon and name of app but can change the name for shortcut created. Please guide for above. Thanks in advance.


Update: Filling the form including user's name phone number and other details with the profile picture. Then only profile picture and name is sent to server and links the app to safari where app name is saved and then shortcut is created on the home page, then when we click that shortcut the app is linked directly to the profile of that user which is created. I want to know if we provide the same data to the api again can the safari update the shortcut name and profile pic. If anyone has worked on any such thing then please respond.




Aucun commentaire:

Enregistrer un commentaire