Skip to content

Commit

Permalink
Fix example style selector popover presentation on iPad
Browse files Browse the repository at this point in the history
  • Loading branch information
alexisakers committed Oct 18, 2017
1 parent 8c2cc0b commit b75f29e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Example/Sources/ViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ class ViewController: UIViewController {
let cancelAction = UIAlertAction(title: "Cancel", style: .cancel, handler: nil)
styleSelectorSheet.addAction(cancelAction)

styleSelectorSheet.popoverPresentationController?.barButtonItem = styleButtonItem
present(styleSelectorSheet, animated: true)

}
Expand Down

0 comments on commit b75f29e

Please sign in to comment.