How to add image to Launchscreen.storyboard

Asked

Viewed 565 times

0

It’s been a long time since I’ve been trying to add an image to Launchscreen.storyboard of an iOS app I’m developing.

Text I can add and view while uploading the app, but I can’t see an image I added through the "image view" component. In the Xcode interface I see the image in the storyboard, however, it does not appear in the app load.

inserir a descrição da imagem aqui

  • 1

    Instead of adding the image to the project folder, add the image to the Assets and test to see if the problem solves

  • Really that solved, thanks. But it would be possible to use an image that is outside the Assets?

  • 2

    Possible is, is not recommended and is not a good practice

  • Use Images.xcassets as you have already commented. There seems to be no reason to do for a Uiview as you wish. Unless you can explain why.

1 answer

0

Good,

The image may be outside the Assets works the same, however it does not seem advisable since it is advised to always use the Assets folder to save the project files.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.