2016-09-07 78 views

回答

0

試試這個AudioServicesPlaySystemSound(1104)代替UIDevice.currentDevice().playInputClick()

+0

其實我試過了,但它不起作用。我在updateSearchResultsForSearchController中使用它。這是錯誤的嗎? –

+0

你能提供一些代碼嗎? –

+0

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