FlagPhoneNumber: Library Crash

App crash due to this function, mostly first time when its loads.

func setCountryByRow(row: Int) {
		self.selectRow(row, inComponent: 0, animated: true)
		let country = countries[row]
		if let countryPickerDelegate = countryPickerDelegate {
			countryPickerDelegate.countryPhoneCodePicker(self, didSelectCountryWithName: country.name!, countryCode: country.code!, phoneCode: country.phoneCode!, flag: country.flag!)
		}
	}

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 40 (18 by maintainers)

Commits related to this issue

Most upvoted comments

@grifas I am not facing this issue since your second last commit. @khushDesai can u please remove this pod completely, then clean your project and delete your DerivedData and then reinstall pod with hotfix branch, also delete your app from device.

Hopefully it will work.