Files
Fluxup_PAP/node_modules/@expo/dom-webview/ios/DomWebViewEnums.swift
2026-03-10 16:18:05 +00:00

24 lines
519 B
Swift

// Copyright 2015-present 650 Industries. All rights reserved.
import ExpoModulesCore
internal enum ContentInsetAdjustmentBehavior: String, Enumerable {
case automatic
case scrollableAxes
case never
case always
func toContentInsetAdjustmentBehavior() -> UIScrollView.ContentInsetAdjustmentBehavior {
switch self {
case .automatic:
return .automatic
case .scrollableAxes:
return .scrollableAxes
case .never:
return .never
case .always:
return .always
}
}
}