FlagPhoneNumber icon indicating copy to clipboard operation
FlagPhoneNumber copied to clipboard

Flag and number not aligned

Open gigallo opened this issue 5 years ago • 11 comments

Describe the bug The flag with the prefix number and the phone number are not aligned

To Reproduce Steps to reproduce the behavior:

  1. create flag phone number text field

Expected behavior Both fields should be aligned

Screenshots IMG_DD4DCC6C6ACD-1

Smartphone (please complete the following information):

  • Device: iPhone x
  • OS: 13.1

FlagPhoneNumber (please complete the following information):

  • Version 0.7.7

Additional context Add any other context about the problem here.

gigallo avatar Oct 01 '19 13:10 gigallo

Yah, it happens on all devices with iOS 13

laptevw avatar Oct 03 '19 10:10 laptevw

Yes, I have exactly the same issue.

mehulparmar4ever avatar Oct 07 '19 09:10 mehulparmar4ever

@laptevw @gigallo

Do you have any solution? If yes then please share.

mehulparmar4ever avatar Oct 07 '19 09:10 mehulparmar4ever

Hi @mehulparmar4ever

For now not, after cleaning, building, installing, reinstalling, punching, kicking...now it seems to work but I think is random

gigallo avatar Oct 07 '19 09:10 gigallo

I fixed it but I'm having an error to release it. Try with the master branch.

grifas avatar Oct 07 '19 09:10 grifas

So has version 0.7.8 been released?

gigallo avatar Oct 07 '19 10:10 gigallo

Yes I just released it ! :)

grifas avatar Oct 07 '19 10:10 grifas

Issue is resolved in master branch. I have removed pod from the project and again add in pod.

Solution : Remove pod and add again from master branch

FYI source 'https://github.com/CocoaPods/Specs.git' platform :ios, '11.0' use_frameworks! inhibit_all_warnings!

target 'MeetMyDoc' do #A formatted phone number UITextField with country flag picker. pod 'FlagPhoneNumber', '0.7.7'

post_install do |installer| installer.pods_project.targets.each do |target| if target.name == 'FlagPhoneNumber' target.build_configurations.each do |config| config.build_settings['SWIFT_VERSION'] = '4.2' end end end end end

Cocoapod: Pod installation complete! There are 1 dependencies from the Podfile and 1 total pods installed. Apples-MacBook-Pro:MeetMyDoc apple$ pod install Analyzing dependencies Downloading dependencies Using FlagPhoneNumber (0.7.7) Generating Pods project Integrating client project Sending stats Pod installation complete! There are 16 dependencies from the Podfile and 16 total pods installed.

mehulparmar4ever avatar Oct 07 '19 10:10 mehulparmar4ever

You're lovable

gigallo avatar Oct 07 '19 10:10 gigallo

Hi, @gigallo @grifas @laptevw

Do you have any idea about this?

#130 My last comment with the issue of space between country code and number.

mehulparmar4ever avatar Oct 07 '19 10:10 mehulparmar4ever

Don't know, sorry :(

gigallo avatar Oct 07 '19 10:10 gigallo