My Notebook
2011年8月31日 星期三
XCode WebView
create webview which load google home page.
1. in .xib, add WebView element
2. connect outlet to viewController.h
3. use the following code:
[
self
.
myWebView
loadRequest
:[
NSURLRequest
requestWithURL
:[
NSURL
URLWithString
:
@"http://google.com"
]]];
沒有留言:
張貼留言
較新的文章
較舊的文章
首頁
訂閱:
張貼留言 (Atom)
沒有留言:
張貼留言