forked from shadowfacts/Tusker
Make search results VC dismiss keyboard interactively
This commit is contained in:
parent
f833bc3a6f
commit
1992a4c60b
|
@ -90,6 +90,7 @@ class SearchResultsViewController: UIViewController, CollectionViewController {
|
||||||
collectionView.dragDelegate = self
|
collectionView.dragDelegate = self
|
||||||
collectionView.allowsFocus = true
|
collectionView.allowsFocus = true
|
||||||
collectionView.backgroundColor = .appGroupedBackground
|
collectionView.backgroundColor = .appGroupedBackground
|
||||||
|
collectionView.keyboardDismissMode = .interactive
|
||||||
|
|
||||||
dataSource = createDataSource()
|
dataSource = createDataSource()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue