Search code examples
iosiphoneswifttableviewuisearchdisplaycontroller

Does any one know how to implement to display the list of contacts from phone book from search bar in a tableview cell?


How to achieve the UI attached in a screenshot? . I have a tableview and multi custom cells inside it.From One custom cell, while searching the name or phone number i want to display the contacts retrieved from Addressbook in that tableview itself as new view or a tableview.I dont want to navigate to address book or navigate to custom search controller. Does any one know how to implement this? Like the screenshot attached.enter image description here


Solution

  • I implemented some time ago this kind of textview and solved my problem.

    I think you should implement ZTDropDownTextField this is third party class, Please check below link

    Note : This is only for UI like your screenshot

    ZTDropDownTextField