Moai SDK
1.5 revision 1 (MoaiEdition)
|
Checks if the UIWebView can go back.
function canGoBack ( MOAIWebViewIOSIOS self )
self | ( MOAIWebViewIOSIOS ) |
Checks if the UIWebView can go forward.
function canGoForward ( MOAIWebViewIOSIOS self )
self | ( MOAIWebViewIOSIOS ) |
Sends an event to the UIWebView that the user has clicked 'back'.
function clickBack ( MOAIWebViewIOS self )
self | ( MOAIWebViewIOS ) |
Sends an event to the UIWebView that the user has clicked 'forward'.
function clickForward ( MOAIWebViewIOS self )
self | ( MOAIWebViewIOS ) |
Sends an event to the UIWebView that the user has clicked 'refresh'.
function clickRefresh ( MOAIWebViewIOS self )
self | ( MOAIWebViewIOS ) |
Sends an event to the UIWebView that the user has clicked 'stop'.
function clickStop ( MOAIWebViewIOS self )
self | ( MOAIWebViewIOS ) |
Closes the current UIWebView.
function closeWebView ( MOAIWebViewIOS self )
self | ( MOAIWebViewIOS ) |
Returns whether or not the UIWebView allows inline media playback.
function getAllowsInlineMediaPlayback ( MOAIWebViewIOS self )
self | ( MOAIWebViewIOS ) |
Returns the currently active URL.
function getCurrentRequest ( MOAIWebViewIOS self )
self | ( MOAIWebViewIOS ) |
Returns whether or not the UIWebView requires user input to start media playback or if it start automatically.
function getMediaPlaybackRequiresAction ( MOAIWebViewIOS self )
self | ( MOAIWebViewIOS ) |
Returns whether or not the UIWebView automatically scales pages to fit the view.
function getScalesPageToFit ( MOAIWebViewIOS self )
self | ( MOAIWebViewIOS ) |
Sets whether or not the UIWebView has a tool bar. Default is true.
function hasToolBar ( MOAIWebViewIOS self, bool hasToolBar )
self | ( MOAIWebViewIOS ) |
hasToolBar | ( bool ) |
Sets the UIWebView to hidden.
function hideWebView ( MOAIWebViewIOS self )
self | ( MOAIWebViewIOS ) |
Kills current UIWebView (if one exists) and creates a new one with desired dimensions.
function initWebView ( MOAIWebViewIOS self )
self | ( MOAIWebViewIOS ) |
Returns whether or not the UIWebView is hidden.
function isHidden ( MOAIWebViewIOS self )
self | ( MOAIWebViewIOS ) |
Returns whether or not the UIWebView is loading a page.
function isLoading ( MOAIWebViewIOS self )
self | ( MOAIWebViewIOS ) |
Sets the UIWebView main page content and base URL.
function loadHTML ( MOAIWebViewIOS self, string string, string baseURL )
self | ( MOAIWebViewIOS ) |
string | ( string ) |
baseURL | ( string ) |
Sets the UIWebView main page content and base URL.
function loadRequest ( MOAIWebViewIOS self, string request )
self | ( MOAIWebViewIOS ) |
request | ( string ) |
Opens the URL in Safari.
function openUrlInSafari ( string url )
url | ( string ) |
Runs the specified JavaScript stringin the UIWebView.
function runJavaScript ( MOAIWebViewIOS self, string script )
self | ( MOAIWebViewIOS ) |
script | ( string ) |
Sets the value of the allowsInlineMediaPlayback on the UIWebView.
function setAllowsInlineMediaPlayback ( MOAIWebViewIOS self, bool allowsInlineMediaPlayback )
self | ( MOAIWebViewIOS ) |
allowsInlineMediaPlayback | ( bool ) |
Sets the value of the mediaPlaybackRequiresUserAction on the UIWebView.
function setMediaPlaybackRequiresAction ( MOAIWebViewIOS self, bool mediaPlaybackRequiresAction )
self | ( MOAIWebViewIOS ) |
mediaPlaybackRequiresAction | ( bool ) |
Sets the value of the scalesPageToFit on the UIWebView.
function setScalesPageToFit ( MOAIWebViewIOS self, bool scalesPageToFit )
self | ( MOAIWebViewIOS ) |
scalesPageToFit | ( bool ) |
Shows the UIWebView.
function show ( MOAIWebViewIOS self )
self | ( MOAIWebViewIOS ) |