June 26, 2012 · 0 Comments
https://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/DisplayWebContent/DisplayWebContent.html
NSString *t_utl=@"http://www.powenko.com"; NSURL *t_NSURL=[NSURL URLWithString:t_utl]; NSURLRequest *t_NSURLRequest=[NSURLRequest requestWithURL:t_NSURL]; [[self.webview mainFrame] loadRequest: t_NSURLRequest];
reference: https://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/DisplayWebContent/Tasks/SimpleBrowsing.html#//apple_ref/doc/uid/20002025-CJBEHAAG