You have to set keyboardType.
searchController.searchBar.keyboardType = .default
Topic:
UI Frameworks
SubTopic:
UIKit
Tags: