You must Login before you can answer or comment on any questions.
Immediately clarify the situation, I asked this question simply for a reason. The new iOS 7 has dimensions of (some icons) icons slightly different from the previous iOS. I have posted below the old size of the icons and also the new dimensions for iOS 7
Now I ask you, can i change the icon of the app based on the OS installed on the device? (because now we'll create two types of icons to make sure that they fit perfectly for both the old OS and the new iOS 7, a problem that does not arise with an icon only with no background in borderless images that are close to the edges of the 'icon)
Yes! I think newest versions of Ti.SDK (latest 3.x's) automatically add them in the build of your app. However if you are like me and still work with older versions of the Ti.SDK you need to change some stuff in the
~/Library/Application Support/Titanium/mobilesdk/osx/SDK_VERSION/tiapp.py :
Find the line which says:
iconorder = list(iconname+".png" ... etcand complete this with the following new icons (60.png, email@example.com, 76.png, firstname.lastname@example.org):
iconorder = list([iconname+".png",iconname+"@2x.png",iconname+"-60.png",iconname+"-email@example.com",iconname+"-72.png",iconname+"-firstname.lastname@example.org",iconname+"-76.png",iconname+"-email@example.com",iconname+"-Small-50.png",iconname+"-Smallfirstname.lastname@example.org",iconname+"-Small.png",iconname+"-Small@2x.png"])This part in the tiapp.py generates the bundleiconfiles property in the info.plist file. IT DOESN'T WORK if you add them manually to a custom info.plist file as this tiapp.py will still overwrite them. So do it (carefully) in the tiapp.py file.
Now be sure to add the new icon files (with maybe a flat design, that's up to you) to your project Resources/-root or project's Resources/iphone folder.
Think you can help? Login to answer this question!