mustafaibrahim989 / MICountryPicker

MICountryPicker is a country picker controller for iOS8+ with an option to search.
MIT License
90 stars 37 forks source link

UI issues #20

Open danieltigse opened 7 years ago

danieltigse commented 7 years ago

Tested on Iphone 6

simulator screen shot mar 13 2017 3 47 45 pm

After I search for a country, iPhone 6

simulator screen shot mar 13 2017 3 47 57 pm

iDevelopper commented 7 years ago

Hi! there's not enough info here to help debug. Could you provide some code or a sample?

raviatri commented 7 years ago

i am facing same UI issue with the library. See the attached screen shots:- 22 23 25

suraj-ios commented 6 years ago

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: "-")
       // }