IconCache/Placement on Respring
Hi all,
I'm having a problem with an App I'm developing for the Jailbroken community.
The following works:
1) Application is stored in /var/mobile/Applications/AAA-BBB-CCC/
2) Rename AAA-BBB-CCC to DDD-EEE-FFF
3) Remove /var/mobile/Library/Caches/com.apple.IconCache
4) Reboot
I can do this over and over with no problems. BUT, I'd like to get it to work on a Respring instead of reboot. Whenever I do this on a respring, I either get a white icon or a missing icon. And rebooting at any point after that sometimes doesn't even solve it.
If I remove /var/mobile/Library/SpringBoard/IconState.plist, I can get the icon to come back, but every icon is randomly placed, instead of organized as it was.
Any ideas? I've been unable to locate where the link between icon file and application is created.
Thanks,
B.
|