File tree 2 files changed +3
-1
lines changed
Examples/PopoversPlaygroundApp.swiftpm/UIKitFiles
2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -55,6 +55,8 @@ class PresentViewController: UIViewController {
55
55
> Popovers.present(popover)
56
56
2. It's highly recommended that you supply a source frame. Otherwise, the popover will be attached to the screen's top-left.
57
57
> 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
58
60
"""
59
61
label. numberOfLines = 0
60
62
label. textAlignment = . left
Original file line number Diff line number Diff line change 8
8
9
9
Pod ::Spec . new do |s |
10
10
s . name = 'Popovers'
11
- s . version = '1.0.3 '
11
+ s . version = '1.0.4 '
12
12
s . summary = 'A library to present popovers.'
13
13
14
14
s . description = <<-DESC
You can’t perform that action at this time.
0 commit comments