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

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

IBOutlet troubleshooting

Hi,

I am having trouble within the Implementing a UI Webview section for the Build a Blog Reader app.

After creating the Web View Controller within the Storyboard builder, and then dragging the Webview onto that, I don't seem to be able to create the IBOutlet from the UIWebView to the WebViewController.h file.

I have checked the View Controller is using the WebViewController custom class.

In the document outline, the Web View sits under the View, so that looks correct.

Any help here would be greatly appreciated. I'm sure i've just missed linking something?

Thanks, Hamish

1 Answer

After going back, trying again, it not working, tried to do it programmatically, deleting that as it wasn't working - I tried the Storyboard / dragging method again and it worked.

Don't think I did anything differently, so no idea how that worked.

But problem solved...