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 trialMichael Hall
18,705 PointsSearch bar persists on every view
Everything appears to be working but when I segue into the next view the search bar doesnt go away automatically
Michael Hulet
47,913 PointsCould you at your .xcodeproj file to this? That'd make it easier for me to open/compile the whole thing in Xcode
1 Answer
michelle gleed
23,811 PointsIn SearchResultsController.swift
Add the line
definesPresentationContext = true
at the bottom of viewDidLoad()
Michael Hulet
47,913 PointsMichael Hulet
47,913 PointsIt's difficult to help without seeing your code. Can you post a link to your project here?