Develop
2015.02.10 18:01
[ios] 로컬에 있는 html 실행하기
조회 수 1035 댓글 0
HTML 파일을 리소스로 두고 웹뷰에서 읽어서 로드하기.
// Load the html as a string from the file system NSString *path = [[NSBundle mainBundle] pathForResource:@"index" ofType:@"html"]; NSString *html = [[NSString alloc] initWithContentsOfFile:path encoding:NSUTF8StringEncoding error:nil]; // Tell the web view to load it [WebView loadHTMLString:html baseURL:[[NSBundle mainBundle] bundleURL]];
[출처] http://stackoverflow.com/questions/4645414/how-can-i-load-a-local-html-file-into-the-uiwebview
-
[doc] mfc 매뉴얼 다운 받아서 완성하기.. ㅋㄷ
-
[doc] TCP/IP 강의 자료 (html)
-
[doc] UI개발시 유용한 소프트웨어 (개발 및 디버깅 툴)
-
[doc] 네트워크 장비와 라우터 설정 방법 발표 자료
-
[doc] 논문.. VoIP 관련.. ㅋㅋ
-
[doc] 레드햇 리눅스 메뉴얼 (html버전)
-
[doc] 발표 자료 ㅎㅎtalk4neo
-
[doc] 방송통신공학회 논문지(학술대회)
-
[doc] 웜 프레임워크 검증환경 구축(작성중..)
-
[doc] 위탁과제 제안서와 발표자료(pdf)
-
[doc] 유료 방송 제어 시스템 (CAS) 발표자료
-
[doc] 인공지능 관련 자료(채팅로봇도 포함..)