Post

Replies

Boosts

Views

Activity

Reply to UIImage (named : ""\(UserDefaults.standard.string(forKey: "value") ?? "")") doesn't match
Hello, Thank you for taking time to answer me ! 1: I understand but, normally the text saved in the UserDefaults.standard.string(forKey: "Nom_Exo_1_Jour_1_Programme_1" is the exact image name from the asset. Because when the user choose the image, the label associated is exactly the good name. The problem is that in the same view I read the good text from this Userdefault, so I don't understand why in the first UIImage (named : ) is working but not in the second 2: In fact, I can't use the Image ("myImage") because I can't know what the image that the user will choose. My objectif it was to use the text according the image chosen by the user. Sorry for my English and programmation level.. Thanks again for your time
Sep ’22