chronotruck / FlagPhoneNumber

A formatted phone number UITextField with country flag picker.
Apache License 2.0
437 stars 317 forks source link

Flag and number not aligned #128

Open gigallo opened 5 years ago

gigallo commented 5 years ago

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):

Additional context Add any other context about the problem here.

laptevw commented 5 years ago

Yah, it happens on all devices with iOS 13

mehulparmar4ever commented 5 years ago

Yes, I have exactly the same issue.

mehulparmar4ever commented 5 years ago

@laptevw @gigallo

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

gigallo commented 5 years ago

Hi @mehulparmar4ever

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

grifas commented 5 years ago

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

gigallo commented 5 years ago

So has version 0.7.8 been released?

grifas commented 5 years ago

Yes I just released it ! :)

mehulparmar4ever commented 5 years ago

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.

gigallo commented 5 years ago

You're lovable

mehulparmar4ever commented 5 years ago

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.

gigallo commented 5 years ago

Don't know, sorry :(