아이폰어플개발정보2010. 10. 12. 05:54
A basic UIWebView

Web view

A basic UIWebView.
CGRect webFrame = CGRectMake(0.0, 0.0, 320.0, 460.0); UIWebView *webView = [[UIWebView alloc] initWithFrame:webFrame]; [webView setBackgroundColor:[UIColor whiteColor]]; NSString *urlAddress = @"http://www.google.com"; NSURL *url = [NSURL URLWithString:urlAddress]; NSURLRequest *requestObj = [NSURLRequest requestWithURL:url]; [webView loadRequest:requestObj]; [self addSubview:webView]; [webView release];

'아이폰어플개발정보' 카테고리의 다른 글

Display Images  (0) 2010.10.12
Application Frame얻기  (0) 2010.10.12
A basic UIWebView  (0) 2010.10.12
Animation: Move an object  (0) 2010.10.12
Info button  (0) 2010.10.12
UIView 높이 폭변경  (0) 2010.10.12
Posted by 오늘마감
TAG , ,

댓글을 달아 주세요