UNDERCODE COMMUNITY
2.72K subscribers
1.24K photos
31 videos
2.65K files
83.7K links
🦑 Undercode World!
@UndercodeCommunity


1️⃣ World first platform which Collect & Analyzes every New hacking method.
+ Pratice
@Undercode_Testing

2️⃣ Cyber & Tech NEWS:
@Undercode_News

3️⃣ CVE @Daily_CVE


Youtube.com/Undercode
by Undercode.help
Download Telegram
This media is not supported in your browser
VIEW IN TELEGRAM
Forwarded from Backup Legal Mega
🦑Verified hulu premium

pastebin.com/YqxxyZP9
THIS CHANNEL STARTING 24/24 POSTS 😊
,excepting days when undercode is closed :)

> Use all tutorials For learning Only !!!!
This media is not supported in your browser
VIEW IN TELEGRAM
▁ ▂ ▄ u𝕟𝔻Ⓔ𝐫Ć𝔬𝓓ⓔ ▄ ▂ ▁

🦑Introduction to the basic usage of WebView in iOS development

1) Use UIWebView to load a webpage to
run XCode 4.3, create a new Single View Application, and name it WebViewDemo.
2) Load WebView,
add WebView member variable in ViewController.h and add implementation in ViewController.m

> #import <UIKit / UIKit.h>
@interface ViewController: UIViewController
{
UIWebView * webView;
}
@end
ViewController.m-
(void) viewDidLoad
{
[super viewDidLoad];
webView = [[UIWebView alloc] initWithFrame: CGRectMake (0, 0, 320, 480)];
NSURLRequest * request = [NSURLRequest requestWithURL: [NSURL URLWithString: @ "http://www.baidu.com"]];
[self.view addSubview: webView];
[webView loadRequest: request];
}

🦑Run so that the Baidu web page opens-or google.com
🦑The network environment of the mobile phone changes in real time.

When the network is slow, how to prompt the user that the webpage is opening? How to prompt the user when there is an error opening the webpage? At this time, we need to know when the web page opens,
when it loads, and when something goes wrong. Then we need to implement this <UIWebViewDelegate> protocol

3) Implement the protocol and modify it in ViewController.h as follows:

> code :

#import <UIKit / UIKit.h>

@interface ViewController: UIViewController <UIWebViewDelegate>
{
UIWebView * webView;
}
@end