Notice
Recent Posts
Recent Comments
Link
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | ||||
| 4 | 5 | 6 | 7 | 8 | 9 | 10 |
| 11 | 12 | 13 | 14 | 15 | 16 | 17 |
| 18 | 19 | 20 | 21 | 22 | 23 | 24 |
| 25 | 26 | 27 | 28 | 29 | 30 | 31 |
Tags
- GCD
- 아이폰7
- Example
- 포켓몬 GO
- Check
- Xcode
- loop
- error
- 스마트폰
- 보라카이
- LG유플러스
- simulator
- 앱스토어
- setting
- 포켓볼
- 얻는법
- afterdelay
- UITableView
- 신도림 테크노마트
- swift3
- 페이백
- 신도림
- IOS
- push
- UIView
- Bitcode
- 샘플
- 공략
- 해몽
- swift
Archives
- Today
- Total
도래울
swift wkwebview alert 본문
func webView(webView: WKWebView, runJavaScriptAlertPanelWithMessage message: String,
initiatedByFrame frame: WKFrameInfo, completionHandler: () -> Void) {
let alertController = UIAlertController(title: message, message: nil,
preferredStyle: UIAlertControllerStyle.Alert);
alertController.addAction(UIAlertAction(title: "OK", style: UIAlertActionStyle.Cancel) {
_ in completionHandler()}
);
self.presentViewController(alertController, animated: true, completion: {});
}
'개발 > iOS' 카테고리의 다른 글
| cocoapods 최신버전 업데이트 (0) | 2016.09.20 |
|---|---|
| swift NSMutableAttributedString text color (0) | 2016.09.09 |
| swift url parsing (0) | 2016.09.09 |
| FBSOpenApplicationErrorDomain error 1 (0) | 2016.09.06 |
| ios push 구현 (0) | 2016.08.30 |
Comments