Avatar of mcliff1100
mcliff1100
 asked on

UiPickerview in Xcode

Hello,

I have a single column uipicker in Xcode and I would like to have text pop up/appear that contains totally new text but is triggered by the picker selection. For example if I have a column of colors and Red is selected in the picker --- below the picker (not within), I want the text to appears as "apples, brick, strawberries."

Thank you!
Swift ProgrammingMultiMedia Applications

Avatar of undefined
Last Comment
darbid73

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
darbid73

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
mcliff1100

ASKER
Is there a way to select a row of text but have alternate text appear below the picker in a label? Thanks
darbid73

Your question seems very simple, or I am not understanding you.  Once the didSelectRow method is called because the user chooses something, you can make a label elsewhere anything you like.  Of course you will need to check what has been selected and then act appropriately based on the choice.
Your help has saved me hundreds of hours of internet surfing.
fblack61