You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Sources/SafariView/Presentation/ItemPresentation.swift
+42-2Lines changed: 42 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -82,18 +82,21 @@ public extension View {
82
82
///
83
83
/// - Parameters:
84
84
/// - item: A binding to an optional source of truth for the ``SafariView``. When item is non-nil, the system passes the item’s content to the modifier’s closure. You display this content in a ``SafariView`` that you create that the system displays to the user. If item changes, the system dismisses the ``SafariView`` and replaces it with a new one using the same process.
85
+
/// - presentationStyle: The ``SafariView/PresentationStyle`` used to present the ``SafariView``.
85
86
/// - onDismiss: The closure to execute when dismissing the ``SafariView``
86
87
/// - safariView: A closure that returns the ``SafariView`` to present
Copy file name to clipboardExpand all lines: Sources/SafariView/Presentation/WrappedItemPresentation.swift
+10-1Lines changed: 10 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -80,12 +80,14 @@ public extension View {
80
80
/// - Parameters:
81
81
/// - item: A binding to an optional source of truth for the ``SafariView``. When item is non-nil, the system passes the item’s content to the modifier’s closure. You display this content in a ``SafariView`` that you create that the system displays to the user. If item changes, the system dismisses the ``SafariView`` and replaces it with a new one using the same process.
82
82
/// - id: A keypath used to generate stable identifier for instances of Item.
83
+
/// - presentationStyle: The ``SafariView/PresentationStyle`` used to present the ``SafariView``.
83
84
/// - onDismiss: The closure to execute when dismissing the ``SafariView``
84
85
/// - safariView: A closure that returns the ``SafariView`` to present
0 commit comments