Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialGareth Holton
258 PointsCant Edit Navigation bar
When adding the edit friends table view controller and connecting the button via the push connection ( now shown as the 'show' connection in Xcode 6) the navigation controller appears but won't let me highlight/select it to edit the title or to drag and drop a bar button into it. I've tried restarting Xcode and redone the page and re-watched the video several times too! don't understand why it won't let me especially when it has on all the previous view controllers.
thanks in advance !
2 Answers
Arman Kussainov
4,754 PointsYou should select this ViewController then choose Editor->Embed in -> Navigation Controller. After that you can add title, bar button and etc.
Vincent K
3,356 PointsI have the same problem. You can manually add a navigation bar to an associated view controller when the navigation controller is selected as the root view controller.
Gareth Holton
258 PointsGareth Holton
258 Pointsthanks this worked ! i thought buy embedding the friends tab with a navigation controller and linking that with the to the edit friends via the edit button it would work but your solution worked great thanks !
Arman Kussainov
4,754 PointsArman Kussainov
4,754 PointsYou are welcome.