Re: iOS-compliant PNGs
Re: iOS-compliant PNGs
- Subject: Re: iOS-compliant PNGs
- From: G S <email@hidden>
- Date: Fri, 01 Apr 2011 18:50:29 -0700
On Fri, Apr 1, 2011 at 6:33 PM, Dave Camp
<email@hidden> wrote:
You must be doing something wrong. Both Photoshop CS5 and Opacity save PNGs that work just fine with iOS. Always have.
Perhaps if you describe in detail what you are doing someone could help?
I'm trying to create PNGs to use as icons on buttons (I thought this was in my original post). iOS requires a very specific format for this. ONLY the alpha channel is used to hold the image. iOS then highlights the image when the button is selected. If the PNG is not in the right format, the button is simply blank.
One hindrance to troubleshooting this is a bug where Xcode fails to delete old assets from the simulator or phone when you run a new build; this often involves UI elements. I spent considerable time trying to figure out why a tableview was devoid of data, when in fact the simulator was showing the remnants of some long-removed XIB file. Looks like the same bug has been a factor here, because wiping the app off the phone manually and running it, I'm now getting an icon generated with Opacity to show up. So that's a start...
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden