UI issues
danieltigse opened this issue · 3 comments
danieltigse commented
iDevelopper commented
Hi! there's not enough info here to help debug. Could you provide some code or a sample?
raviatri commented
suraj-ios commented
Hi danieltigse,
You could put below code for your above problem..
if countryData.count > 0, let dialCode = countryData[0]["dial_code"] {
country = MICountry(name: displayName!, code: countryCode, dialCode: countryData[0]["dial_code"]!)
unsourtedCountries.append(country)
}
//else {
// country = MICountry(name: displayName!, code: countryCode, dialCode: "-")
// }