User Tools

Site Tools


Sidebar

Programming Reference/Librarys

Question & Answer

Q&A is closed







objective-c:examples:uiwebview_using_local_resources

This is an old revision of the document!


UIWebView using local resources

Sometimes you need or want to load a UIWebView displaying content provided with an app. If there is more then one site it might make sense to have an external .css or .js file for all your html content. Whatever, I was facing this problem currently and decided to provide my solution to you.

If you're following this example it is necessary that you are familiar with XCode and UIWebView-Basics.

First we will create the project. Open up XCode and click File→New→Project. Single View Application is the template we want for this purpose.

Select it and click next. Now provide a name for your project. I named mine 'UIWebViewSample'.

on the occasion of the current invasion of Russia in Ukraine

Russian Stop this War
objective-c/examples/uiwebview_using_local_resources.1408394003.txt · Last modified: 2024/02/16 01:03 (external edit)

Impressum Datenschutz