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 trial
George S-T
6,624 PointsCan't seem to Control-Click and drag to the WebView class. Blog Reader Project.
Im at the 'Implementing a UIWebView' video and in the video Amit drags the Web View on the storyboard to the WebViewController class. When I drag it and release on the class, it doesn't do anything.
4 Answers
John Blanchard
Courses Plus Student 5,437 PointsI had done that step wrong. Rewatched the Navigation Controller video at 8:00 and was able to solve the issue.
Thanks!
Stone Preston
42,016 Pointsyou need to be sure you are "zoomed in" on the view controller. double click the view controller to zoom in on it. You have to be zoomed in on it to add controls to the view. Also you dont control click. Just click and drag from the object library to your view controller, if what you want to do is add the webview to your view controller that is. I could be misunderstanding
George S-T
6,624 PointsSorry I must have explained bad. I have the web view controller on the main view controller, but I cant do that thing where you drag the view to the code to create an IBOutlet.
RASHU BHATNAGAR
Courses Plus Student 2,669 PointsJust open the standard editor, make sure you have the storyboard on one side and viewController.h on the other side. press the Control key and drag the mouse from the web view controller story board toward the viewController.h and release the mouse , you will get the IBOutlet screen...
Hope it helps....
George S-T
6,624 PointsI can do all that drag and drop, and Ive done it on other projects, but here when I drop it nothing happens. Basically, it doesn't want to be made into code.
John Blanchard
Courses Plus Student 5,437 PointsI am having the same issue. Can't figure out why it will not work. I was able to do these steps for CrystalBall.app, but it will not work for BlogReader.app.
Stone Preston
42,016 Pointsdid you set your custom class as the view controllers class in storyboard?
Stone Preston
42,016 PointsStone Preston
42,016 Pointsawesome glad you figured it out