I need a screen like this: Always on the top, there’s a search bar, Always. Right beneath, there’s a navigation controller. Is this possible? I have tried resizing the navigation controller in IB but I can’t re-size it. Thanks.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Yes. You will have to construct the interface in code, however. Your main view controller should have two instance variables: the first should be a search bar, and the second should be a navigation controller. Then, in

-viewDidLoad, add the search bar and the navigation controller’s view as subviews to the main view controller’s view. The result will look like this:You can download the Xcode project here: http://www.mediafire.com/?36dswv4u0le447k