2016-08-22 33 views
0

我正在使用Xamarin Studio在C#中開發iOS應用程序,並且我有一個由多個UITableViewCells組成的UITableViewController。在其中一個電池中,我需要UISearchBar及其UISearchDisplayController。我的問題是,我無法設置UISearchDisplayController並在此UITableViewCell內顯示搜索結果。這甚至有可能嗎?UITableViewCell中的UISearchDisplayController

在此先感謝!

P.S.我知道的一個事實,即UISearchDisplayController是iOS中棄用頭文件8.

+0

嘗試添加一個?請分享您的代碼如何添加。 –

回答

0

添加委託,

在tableview中添加這兩種方法

Add these

+0

還添加委託像搜索「在頭文件中添加委託, 」 @Stefan斯特凡 – KAR

+0

我很抱歉,我忘了提,我實現在C#中的應用使用Xamarin工作室。 –

相關問題