Type Function Library native.* Return value Boolean Revision Release 2024.3703 Keywords native, canShowPopup, safari, safariView, webView
Returns whether or not the popup type can be shown.
native.canShowPopup( name )
String. The string name of the popup to be shown. For the Safari View plugin, use "safariView"
.
if native.canShowPopup( "safariView" ) then native.showPopup( "safariView", "https://coronalabs.com" ) end