Advertise Books Events Forum News Social Networking Support Us

sdkIQ for iPhone
($4.99)

Shape Up
($0.99)

Your First iPhone App
($1.99)

iVidCam Free
(free)

Kid Art
($0.99)

iPUBQUIZ
(£1.19)

ArtStudio
($3.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 08-28-2008, 11:01 AM   #1 (permalink)
yodarks
Registered Member
 
Join Date: Aug 2008
Posts: 14
Default webview in a tab bar controller

Hello I have a little question.
I have a tab bar controller view made with the UI tool. One of the tab is a web view that I want to show web datas. But I don't figure out how to link my webView outlet with the effective webView that I've inserted in the interface builder.

I have the same problem for TableViews

this is my code

@interface MyNewViewController : UIViewController {

IBOutlet UIWebView *webView;
}

@property (nonatomic, retain) UIWebView *webView;

NSString *urlAddress = @"http://www.google.com";

//Create a URL object.
NSURL *url = NSURL URLWithString:urlAddress;

//URL Requst Object
NSURLRequest *requestObj = NSURLRequest requestWithURL:url;

//Load the request in the UIWebView.
webView loadRequest:requestObj;

Thank you !
yodarks is offline   Reply With Quote
 
Enter the iPhone App Challenge!  Win $500!
» Advertisements
» Stats
Members: 24,350
Threads: 39,141
Posts: 171,606
Top Poster: smasher (2,577)
Welcome to our newest member, 17make
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 04:57 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.