[SWIFT] WKWebView에서 Button Click
1. Web JavaScript Setting $(document).ready(function(){ $('.btn-save').click(function(){ var str = "ABC"; window.webkit.messageHandlers.NAME.postMessage(str); }); }); 2. Native 2-1. WKWebView Setting let contentController = WKUserContentController() let config = WKWebViewConfiguration() contentController.add(self, name: "NAME") config.userContentController = contentController webView = WKWebview..
iOS
2020. 3. 3. 11:54
- Total
- Today
- Yesterday
공지사항
TAG
- 이펙티브 엔지니어
- riverpod
- 에드먼드 라우
- Swift
- SWIFT WebView
- UIGraphicsBeginPDFPageWithInfo
- NSNotFound
- OOP
- 클린 아키텍처
- 리팩터링
- NSMutableAttributedString
- 로버트C마틴
- Flutter
- 객체지향의 사실과 오해
- ReactNative
- 스위즐링
- mutableString
- wkwebview
- SWIFT JavaScript
- pdfkit
- UIGraphicsBeginPDFContextToData
- llvm
- swiftpdf
- UIGraphics
- 알고리즘
- SWIFT JQuery
- dfs
- ios
- 플로팅팝업
- SWIFT 자바스크립트연동