Skip to content

Commit f175f90

Browse files
committed
Increase deployment target to iOS 17
1 parent fba4166 commit f175f90

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

Package.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
// swift-tools-version: 5.9
1+
// swift-tools-version: 6.1
22
// The swift-tools-version declares the minimum version of Swift required to build this package.
33

44
import PackageDescription
55

66
let package = Package(
77
name: "GutenbergKit",
8-
platforms: [.iOS(.v15), .macOS(.v14)],
8+
platforms: [.iOS(.v17), .macOS(.v14)],
99
products: [
1010
.library(name: "GutenbergKit", targets: ["GutenbergKit"])
1111
],

ios/Demo-iOS/Sources/EditorView.swift

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -91,10 +91,7 @@ private struct _EditorView: UIViewControllerRepresentable {
9191
func makeUIViewController(context: Context) -> EditorViewController {
9292
let viewController = EditorViewController(configuration: configuration)
9393
viewController.delegate = context.coordinator
94-
95-
if #available(iOS 16.4, *) {
96-
viewController.webView.isInspectable = true
97-
}
94+
viewController.webView.isInspectable = true
9895
viewController.startEditorSetup()
9996
return viewController
10097
}

0 commit comments

Comments
 (0)