JJJ
JJJ

Reputation: 2909

Using iOS storyboarding I can't place label in spot I want on view controller

Dragging immediately drops it somewhere in the beginning where I don't want it... I'm looking to put it in the top center.

Upvotes: 0

Views: 26

Answers (2)

Lumialxk
Lumialxk

Reputation: 6369

@Jaime It's a solution but not best. The top bar called UINavigationBar which already has title to display in the top center. So you should drag out a navigation item to view controller and set its title.

Upvotes: 1

JJJ
JJJ

Reputation: 2909

Doh, problem was the ViewController did not have a view on it. Adding a view and dragging the label on top of it fixed it.

enter image description here

Upvotes: 0

Related Questions