Quantcast
Viewing all articles
Browse latest Browse all 5571

Set dropdown display value

Hi,

 

I have

  • a populated dropdown list with five entries (entry1, entry2...entry5).
  • a string (which I know is one of the entries in the dropdown list) that I would to be selected in the dropdown list.

 

I have tried using nameOfDropDown.rawValue = myString but without success.

 

I would really appreciate if someone could point in the right direction.

 

Thanks in advance!

 

/Jakob


Viewing all articles
Browse latest Browse all 5571

Trending Articles