iosWebViewFix/ios/Classes/InAppBrowserOptions.swift

52 lines
1.4 KiB
Swift
Raw Normal View History

//
// InAppBrowserOptions.swift
// flutter_inappbrowser
//
// Created by Lorenzo on 17/09/18.
//
import Foundation
@objcMembers
public class InAppBrowserOptions: Options {
2018-09-23 23:53:22 +00:00
var useShouldOverrideUrlLoading = false
var useOnLoadResource = false
2018-10-15 23:27:58 +00:00
var openWithSystemBrowser = false;
var clearCache = false
var userAgent = ""
2018-09-23 23:53:22 +00:00
var javaScriptEnabled = true
var javaScriptCanOpenWindowsAutomatically = false
var hidden = false
var toolbarTop = true
var toolbarTopBackgroundColor = ""
2018-09-23 23:53:22 +00:00
var hideUrlBar = false
var mediaPlaybackRequiresUserGesture = true
2018-10-15 23:27:58 +00:00
var isLocalFile = false
2018-09-23 23:53:22 +00:00
var disallowOverScroll = false
var toolbarBottom = true
var toolbarBottomBackgroundColor = ""
var toolbarBottomTranslucent = true
2018-09-23 23:53:22 +00:00
var closeButtonCaption = ""
var closeButtonColor = ""
var presentationStyle = 0 //fullscreen
var transitionStyle = 0 //crossDissolve
2018-09-19 02:10:00 +00:00
var enableViewportScale = false
//var keyboardDisplayRequiresUserAction = true
2018-09-19 02:10:00 +00:00
var suppressesIncrementalRendering = false
var allowsAirPlayForMediaPlayback = true
var allowsBackForwardNavigationGestures = true
var allowsLinkPreview = true
var ignoresViewportScaleLimits = false
var allowsInlineMediaPlayback = false
var allowsPictureInPictureMediaPlayback = true
2018-09-23 23:53:22 +00:00
var spinner = true
override init(){
super.init()
}
}