Skip to content

Commit 5fcaa9d

Browse files
committed
Update podspec for 1.0.4
1 parent bff544c commit 5fcaa9d

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

Examples/PopoversPlaygroundApp.swiftpm/UIKitFiles/PresentView.swift

+2
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,8 @@ class PresentViewController: UIViewController {
5555
> Popovers.present(popover)
5656
2. It's highly recommended that you supply a source frame. Otherwise, the popover will be attached to the screen's top-left.
5757
> attributes.sourceFrame = { [weak yourView] in yourView.windowFrame() }
58+
3. If your app supports multiple screens, you should set the popover's windowScene.
59+
> attributes.windowScene = view.window?.windowScene
5860
"""
5961
label.numberOfLines = 0
6062
label.textAlignment = .left

Popovers.podspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
Pod::Spec.new do |s|
1010
s.name = 'Popovers'
11-
s.version = '1.0.3'
11+
s.version = '1.0.4'
1212
s.summary = 'A library to present popovers.'
1313

1414
s.description = <<-DESC

0 commit comments

Comments
 (0)