• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Transparent Image with Tint Color
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Transparent Image with Tint Color


  • Subject: Re: Transparent Image with Tint Color
  • From: Paul Scott <email@hidden>
  • Date: Sun, 29 Sep 2013 14:55:30 -0700

Now, I'm wondering if there's a way to get UIWebView to apply tint color to an image URL, via some extension?

I would like my UIWebView-based app help — which references the app's images — to dynamically adopt the same tint color as the rest of the app, without resorting to saving the template-rendered image to disk.

Paul

On Sep 29, 2013, at 1:38 PM, Paul Scott <email@hidden> wrote:

> 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


  • Follow-Ups:
    • Re: Transparent Image with Tint Color
      • From: Paul Scott <email@hidden>
References: 
 >Re: Transparent Image with Tint Color (From: Paul Scott <email@hidden>)

  • Prev by Date: Re: Transparent Image with Tint Color
  • Next by Date: Re: Transparent Image with Tint Color
  • Previous by thread: Re: Transparent Image with Tint Color
  • Next by thread: Re: Transparent Image with Tint Color
  • Index(es):
    • Date
    • Thread