Re: Transparent Image with Tint Color
Re: Transparent Image with Tint Color
- Subject: Re: Transparent Image with Tint Color
- From: Cai Durbin <email@hidden>
- Date: Sun, 29 Sep 2013 16:27:22 -0400
If you're targeting iOS 7, then you should take a look at WWDC session 214
(Customizing Your App’s Appearance for iOS 7). It talks about using the
method on UIImage called imageWithRenderingMode:, which lets you use the
tintColor property to tint your generic images in code.
If you're targeting iOS 6 and below, then check out the tutorial by
thoughtbot that uses blending modes to colour an image.
http://robots.thoughtbot.com/post/46668544473/designing-for-ios-blending-modes
Hope that helps,
Cai
On 29 September 2013 16:15, Paul Scott <email@hidden> wrote:
> I have an image file—created in Photoshop, anti-aliasd against a
> transparent background—that I would like colorized using the same tint
> color used in the navigation bar. Is there a way to colorize this pre-drawn
> image programmatically?
>
> --
> Paul Scott
> email@hidden
>
>
> _______________________________________________
>
> Cocoa-dev mailing list (email@hidden)
>
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
>
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden