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 <psc...@skycoast.us> 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
> psc...@skycoast.us
>
>
> _______________________________________________
>
> Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
>
> 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:
> https://lists.apple.com/mailman/options/cocoa-dev/cai.durbin%40gmail.com
>
> This email sent to cai.dur...@gmail.com
>
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to