Skip to content

Commit

Permalink
Release 3.0.8 (#104)
Browse files Browse the repository at this point in the history
* Fix UISearchController crash.
  • Loading branch information
kizitonwose authored Feb 12, 2020
1 parent 4d87784 commit 71a427a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CountryPickerView.podspec
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
Pod::Spec.new do |spec|

spec.name = "CountryPickerView"
spec.version = "3.0.7"
spec.version = "3.0.8"
spec.summary = "A simple, customizable view for selecting countries in iOS apps."
spec.homepage = "https://github.com/kizitonwose/CountryPickerView"
spec.license = "MIT"
spec.author = { "Kizito Nwose" => "[email protected]" }
spec.platform = :ios, "8.0"
spec.swift_version = '5.0'
spec.swift_versions = ['5.0']
spec.source = { :git => "https://github.com/kizitonwose/CountryPickerView.git", :tag => spec.version }
spec.source_files = "CountryPickerView/**/*.{swift}"
spec.resource_bundles = {
Expand Down
1 change: 1 addition & 0 deletions CountryPickerView/CountryPickerViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,7 @@ extension CountryPickerViewController {
let country = isSearchMode ? searchResults[indexPath.row]
: countries[sectionsTitles[indexPath.section]]![indexPath.row]

searchController?.isActive = false
searchController?.dismiss(animated: false, completion: nil)

let completion = {
Expand Down

0 comments on commit 71a427a

Please sign in to comment.