searchbar between navigation bar and table view

Discussion in 'iOS Programming' started by psudheer28, Jul 17, 2010.

  1. macrumors newbie

    Joined:
    Aug 10, 2009
    #1
    Hi all,

    I am developing an application, in that i have taken navigation bar and table view.

    I have taken a button on navigation bar. on clicking that button I want Search bar to pop up underneath navigation bar and table view should automatically slide down.

    After clicking cancel button in search bar it should disappear and table view should slide up to its original position under navigation bar.

    search bar should appear in between navigation bar and table view.



    Thanks

    sudheer
     
  2. Moderator emeritus

    robbieduncan

    Joined:
    Jul 24, 2002
    Location:
    London
    #2
    Use a UISearchDisplayController.

    And before you ask: no I will not provide "sample code" for you to steal for your app. It's very simple to work out from the documentation.
     

Share This Page