Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

iOS Build a Blog Reader iPhone App Viewing a Web Page Implementing a UIWebView

Sergio Romo
Sergio Romo
1,426 Points

Dragging the webview to the WebViewController

I can't drag the webview to the WebViewController. It rejects it.

Iulian Popescu
Iulian Popescu
1,363 Points

Hi Sergio! Are you sure that you are using a WebViewController (I couldn't find any reference to a class like that in Apple doc)?

2 Answers

Chris Howie
Chris Howie
13,216 Points

I found the issue you were describing as well. The solution is to open the Document Outline, Open the WebView Controller, Click on View. Once you click on View you can drag over the UIWebView.

Let me know if you got it.

What are you trying to achieve? I'm not the best to answer this, but I believe they are the same thing. Use one or the other