Reputation: 5220
In IB I have this scene in my storyboard
And when ran in simulator it looks exactly like this
Obviously I would like the search bar vertically below the status bar. How can I accomplish that? My UITableViewController is embedded inside a UITabBarController btw.
I looked at this technical Q&A QA1797 (link), but it talks about iOS 7, and according to this document it should work for UITabBarController, but in my case it does not.
I am using XCode 7.0 (7A220)
UPDATE 1: UITableView not draggable
UPDATE 2: Document Outline view of my Search Scene
UPDATE 3: Size inspector for Table (UITableView) showing that the Size X/Y is not editable (I don't know why), and so I can't reposition the Table
Upvotes: 0
Views: 443
Reputation: 254
The best solution is embed the initial view controller of your storyboard into a navigation controller.
Steps: 1. Select the initial view controller from storyboard. 2. Then go to editor -> Embed in Navigation Controller.
Now run and you'll see problem is resolved.
Upvotes: 2