0

I am trying to put a Sketch image into a UIBarBuuttonItem. The image has a transparent background and the image is a camera that is blue with a white circle inside. I am sure I'm exporting the entire image. I am using a 1x, 2x, and 3x version of the image and when I set the image of a UIBarButtonItem in the storyboard, it only shows the blue part of the camera and not the white circle inside. If I put a UIImage in a ViewController and set it to the same image, the image shows up correctly. The image shows the difference. Thanks in advance![enter image description here]1

rmaddy
  • 314,917
  • 42
  • 532
  • 579
Dan Levy
  • 3,931
  • 4
  • 28
  • 48

1 Answers1

0

In your image in xcasset, try change it's render to Original image in attribute inspector, maybe the issue is the tint color

enter image description here

Tj3n
  • 9,837
  • 2
  • 24
  • 35