iosuiimageviewinterface-builderlaunch-screen

Template Image doesn't get tinted on Launch Screen Storyboard


I am setting up my launch screen with storyboard, and I'm using an image that is set to be a PDF template image. My goal is to put this image in a UIImageView and set tint color to it via Interface Builder.

This approach works fine if I have such image view in my Main.storyboard, but somehow, on LaunchScreen.storyboard, the image doesn't get tinted and takes on the actual color rendered on the PDF.

I looked around for information online but haven't found much info on proper use of template image on Launch Screen.

Is using tint color supported on Launch Screens? If it is, what's the appropriate way to set it up?


Solution

  • Launch screen storyboards work differently than a general storyboard. They are basically substitutes for launch screen images.

    There are some restrictions for them: they cannot run code, nor they can use custom fonts etc. These restrictions include not being able to use tint colors.