user3057326
user3057326

Reputation: 29

Add "placeholder" in Interface Builder

In my iOS app I have a simple view to which I have added a TabBar and a Navigation Bar programmatically. I have added several GUI elements with Interface Builder. Now I have the problem that my view on the phone looks different to the one in Interface Builder due to the missing bars. How do I make the xib in Interface Builder look the same as the actual view?

Upvotes: 1

Views: 879

Answers (1)

Kakshil Shah
Kakshil Shah

Reputation: 3806

NavigationBar and Tabbar can be added in the interface builder to make it look like the one running on phone.

To do so, open the RightUtilities, Select the attributesInspector, and check out simulated metrics. You can set the top bar, as well as bottom tab bar.

Xcode Screenshot

Upvotes: 4

Related Questions