Monday 13 January 2020

Why do gif Image In UITabBarItem on iOS 13 show blue color?

Why do this .gif Image In UItabbarItem on iOS 13 show blue color?

tabBarItem.selectedImage is .gif image.

viewController.tabBarItem.selectedImage = gifImage.

The gif image on iOS 13 looks blue color. (Maybe is iOS image default render color)

The gif image on iOS 12 is well.

My code is :

viewController.tabBarItem.selectedImage = [[UIImage sd_animatedGIFWithData:data] 
                      imageWithRenderingMode:UIImageRenderingModeAlwaysOriginal];

How to resolve this on iOS 13?



from Why do gif Image In UITabBarItem on iOS 13 show blue color?

No comments:

Post a Comment