开发者

website not upload using webview

开发者 https://www.devze.com 2023-01-22 07:29 出处:网络
ihave write the following code but it does nothing in consloe it shows Unknown scheme, doing nothing [webview setDeleagte self];

ihave write the following code but it does nothing in consloe it shows Unknown scheme, doing nothing

[webview setDeleagte self];
[webView loadRequest:[[NSURLRequest alloc] initWithURL:[[NSURL alloc] initWi开发者_如何转开发thString:sourcelinkStr]]];


NSString *strURL = @"https://facebook.com";
NSURL *url = [NSURL URLWithString:strURL];
webView.delegate = self;
[webView loadRequest:[NSURLRequest requestWithURL:url]];

now , we have to define Methods For LoadRequest
thanks..

0

精彩评论

暂无评论...
验证码 换一张
取 消