("1$Indore","2$Lyallpur","3$Sagan","4$Bhopal","5$Reva","6$Santa","7$Dar","8$Chinaware","9$Gwalior","10$Jain","11$Morena","12$West Nimar","13$Chatterer")
我想将此字符串数组以键值形式排列,如“$”中的哈希映射,并选择像 Indore 这样的值UIPicker
并导致其键如 1。请帮助我......但请更合理,因为这个字符串是从服务器获取的我不能在我的代码中写自用键是 1,值是 Indore。