Added the iosDisplayResourceInWebView() function.