Re: iOS-compliant PNGs
Re: iOS-compliant PNGs
- Subject: Re: iOS-compliant PNGs
- From: Luther Baker <email@hidden>
- Date: Fri, 01 Apr 2011 21:07:34 -0500
Just need to confirm ... simply having an alpha channel does not a successful image button make for the toolbar.
You have to actually use, vary, alter the alpha channel - just as you would a color. The alpha channel IS your color. Are you actually creating your image by using the alpha channel - varying it as you would vary a color's shade?
Otherwise, I fear that while you indeed have an PNG with an alpha channel ... set to 1 for the entire image - which would look like nothing (been there, done that :)
Again, just explicitly checking.
On Fri, Apr 1, 2011 at 8:50 PM, G S
<email@hidden> wrote:
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
_______________________________________________
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