question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[iOS] Gif Image tintColor not working

See original GitHub issue
info
  React Native Environment Info:
    System:
      OS: macOS 10.14
      CPU: (12) x64 Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz
      Memory: 22.33 MB / 16.00 GB
      Shell: 3.0.2 - /usr/local/bin/fish
    Binaries:
      Node: 10.15.3 - /usr/local/bin/node
      Yarn: 1.13.0 - /usr/local/bin/yarn
      npm: 6.4.1 - ~/.nvm/versions/node/v10.15.3/bin/npm
      Watchman: 4.9.0 - /usr/local/bin/watchman
    SDKs:
      iOS SDK:
        Platforms: iOS 12.1, macOS 10.14, tvOS 12.1, watchOS 5.1
      Android SDK:
        API Levels: 23, 25, 26, 27, 28
        Build Tools: 26.0.2, 26.0.3, 27.0.3, 28.0.2, 28.0.3
        System Images: android-27 | Google APIs Intel x86 Atom, android-28 | Google APIs Intel x86 Atom, android-28 | Google Play Intel x86 Atom
    IDEs:
      Android Studio: 3.3 AI-182.5107.16.33.5314842
      Xcode: 10.1/10B61 - /usr/bin/xcodebuild
    npmPackages:
      react: 16.8.6 => 16.8.6
      react-native: 0.59.5 => 0.59.5
    npmGlobalPackages:
      react-native-cli: 2.0.1

Steps To Reproduce

  1. Create fresh react-native project through, react-native init
  2. Create Image source={require('path-to-image')} style={{ width: 50, height: 50, tintColor: "blue" }} />

When using an animated gif, tintColor style in Image is not being applied to iOS while working fine on Android.

Snack: Link to Expo Snack

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:8 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
zhongwuzwcommented, May 10, 2019

@jinshin1013 Never mind, bug exist, I’ll try to fix it. Thanks.

0reactions
zhongwuzwcommented, May 13, 2019

@jinshin1013 🍻

cc @cpojer @kelset. Fixed in #24794.

Read more comments on GitHub >

github_iconTop Results From Across the Web

tintColor does not work for GIF images on ios #22805 - GitHub
Hey Guys! Just wanted to share an Issue I found. We have a designer who creates assets for us and he typically creates...
Read more >
React Native: "tintColor" not working for Image on iOS 15
This is working fine on Android and on iOS <15. However, the tintColor is not applied to any of my icons on iOS...
Read more >
UIImageView tint color not working… | Apple Developer Forums
Hi, I have four UIImageViews. The image for each view is set as template image in Assets catalogue. They appear in the right...
Read more >
GIFs/#images not Working on iPhone 12/11/X?8 Fixes Today!
If the iPhone GIFs not working, it can be due to several reasons. The GIFs are animated images; if you didn't add the...
Read more >
Can I make a GIF with transparent background? - Help - Ezgif
Either delete the background from each frame manually before making a GIF (save the image as GIF or PNG to preserve transparency, JPG...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found