2016-09-07 81 views

回答

0

试试这个AudioServicesPlaySystemSound(1104)代替UIDevice.currentDevice().playInputClick()

+0

其实我试过了,但它不起作用。我在updateSearchResultsForSearchController中使用它。这是错误的吗? –

+0

你能提供一些代码吗? –

+0

func updateSearchResultsForSearchController(searchController:UISearchController){ UIDevice.currentDevice()。playInputClick() } –