스마트폰 BTC 채굴앱
https://get.cryptobrowser.site/34473645
Earn coins while browsing the web
Earn bitcoins while watching videos, chatting, or playing online. It has never been so easy to increase your income! Tell your friends about CryptoTab Browser, invite them to join, and earn more together. Grow your network—get more profit!
get.cryptobrowser.site
네이티브에서 직접 처리할 경우 canGoBack, webView.goBack 함수를 직접 호출하면 되지만 웹에서 뒤로가기를 할 경우 네이티브에 다음과 같이 선언하여 처리하도록 한다.
func webView(_ webView: WKWebView, decidePolicyFor navigationAction: WKNavigationAction, decisionHandler: @escaping (WKNavigationActionPolicy) -> Void) {
guard let url = navigationAction.request.url else {
decisionHandler(.cancel)
return
}
if(navigationAction.navigationType == .backForward) {
if navigationAction.request.url != nil {
if webView.canGoBack {
print ("Can go back")
webView.goBack()
//webView.reload()
decisionHandler(.cancel)
return
} else {
print ( "Can't go back")
}
}
}
// 생략 ~
}
스마트폰 BTC 채굴앱
https://get.cryptobrowser.site/34473645
Earn coins while browsing the web
Earn bitcoins while watching videos, chatting, or playing online. It has never been so easy to increase your income! Tell your friends about CryptoTab Browser, invite them to join, and earn more together. Grow your network—get more profit!
get.cryptobrowser.site
2020/05/29 - [iOS/Objective-C] - OpenGL ES View Snapshot
2020/05/29 - [iOS/Objective-C] - Merge two different images in swift
2020/05/29 - [프로그래밍/C, C++] - Base64 encode / decode in C++
2020/05/29 - [OS/Mac OS X] - iPhone SDK location on hard drive
2020/05/29 - [iOS/Objective-C] - NSString <-> CBUUID 변환
2020/05/29 - [개발노트] - HTTP Content-Type
2020/05/28 - [iOS/Swift] - SEED 블록암호 알고리즘 CBC (Cipher Block Chaining) 예제
2020/05/28 - [개발노트] - HMAC SHA256
2020/05/26 - [iOS/Swift] - Array <-> Data 변환
2020/05/25 - [분류 전체보기] - UserAgent 추가
2020/05/25 - [iOS/Swift] - RSA 암호화 / 복호화
2020/05/25 - [iOS/Swift] - Base64 인코딩/디코딩
2020/05/19 - [AI/Algorithm] - Generic algorithm
'개발 > iOS' 카테고리의 다른 글
Objective-C Block Syntax (0) | 2020.05.29 |
---|---|
Detect permission of camera in iOS (0) | 2020.05.29 |
OpenGL ES View Snapshot (0) | 2020.05.29 |
Merge two different images in swift (0) | 2020.05.29 |
NSString <-> CBUUID 변환 (0) | 2020.05.29 |