Re: Transparent Image with Tint Color
Re: Transparent Image with Tint Color
- Subject: Re: Transparent Image with Tint Color
- From: Paul Scott <email@hidden>
- Date: Sun, 29 Sep 2013 13:38:44 -0700
Thanks, guys! That did the trick; exactly what I needed for iOS 7 app update, and so simple!
I will watch session 214 to garner what other gems might have been presented. I *did* read the iOS 7 UI Transition Guide—which I just now verified discusses UIImageRenderingModeAlwaysTemplate—but somehow I missed that; probably because I glossed over it at the time not realizing I'd need it.
Paul
On Sep 29, 2013, at 1:24 PM, Hunter Hillegas <email@hidden> wrote:
> On iOS? If I’m understanding correctly, you want [UIImage imageWithRenderingMode:] and picking UIImageRenderingModeAlwaysTemplate.
On Sep 29, 2013, at 1:27 PM, Cai Durbin <email@hidden> wrote:
> 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,
_______________________________________________
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