oscarimonbox
8/11/2016 - 7:45 AM

Cambiar uno color en una imagen transparente

Cambiar uno color en una imagen transparente

    let newImage = self.imgLikesButton.image?.withRenderingMode(.alwaysTemplate)
    self.imgLikesButton.image = newImage
    self.imgLikesButton.tintColor = UIColor.init(rgb: AppConstants.Colors.redSocial);
    self.imgPlayer.image = [self.imgPlayer.image imageWithRenderingMode:UIImageRenderingModeAlwaysTemplate];
    [self.imgPlayer setTintColor:[UIColor redColor]];