Skip to content

Plus Symbol is not centre for country code #53

@Raviteja-Mathangi

Description

@Raviteja-Mathangi

General Information

Hope you find here Screen Short : https://prnt.sc/pxwunv

  • NKVPhonePicker Version:
    2.1.10
  • iOS Version(s):
    12.4.2
  • Swift Version:
    4
  • Device or Simulator:
    Device iPhone 6
  • Did you check an example:
    Yes i checked example

What happened?

I have textfield with class of NKVPhonePicker and position is (20, 50, 335, 50), I set up Initial country code as IN ...Here is my code
/*
countryTF?.favoriteCountriesLocaleIdentifiers = ["RU", "ER", "JM"]
countryTF?.rightToLeftOrientation = false
countryTF?.shouldScrollToSelectedCountry = false
countryTF?.flagSize = CGSize(width: 30, height: 50)
countryTF?.enablePlusPrefix = true
let country = Country.country(for: NKVSource(countryCode: "IN"))
countryTF?.country = country
countryTF?.customPhoneFormats = ["IN" : "## #### ### ###"]
*/

  • text is not centre to country code

What did you expect to happen?

If + will centre to Country code it looks good . May be it will helpful to all

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions