Skip to content

Commit

Permalink
Popover Bug fixed.
Browse files Browse the repository at this point in the history
  • Loading branch information
rushisangani committed Sep 18, 2019
1 parent f903e0f commit bd7194b
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ iOS 9.0+ | Xcode 8.3+ | Swift 3.0+
### CocoaPods

```ruby
pod 'RSSelectionMenu' or pod 'RSSelectionMenu', '~> 6.0.5'
pod 'RSSelectionMenu' or pod 'RSSelectionMenu', '~> 6.0.6'
```

### Carthage
Expand Down
4 changes: 2 additions & 2 deletions RSSelectionMenu.podspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Pod::Spec.new do |s|

s.name = "RSSelectionMenu"
s.version = "6.0.5"
s.version = "6.0.6"

s.summary = "An elegant selection list or dropdown menu for iOS with single or multiple selections."
s.description = <<-DESC
Expand All @@ -22,5 +22,5 @@ Pod::Spec.new do |s|
s.source_files = "RSSelectionMenu/**/*.swift"

s.requires_arc = true
s.pod_target_xcconfig = { "SWIFT_VERSION" => "5.0" }
s.swift_versions = ['4.2', '5.0', '5.1']
end
Binary file not shown.
4 changes: 2 additions & 2 deletions RSSelectionMenu/RSSelectionMenu.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
MARKETING_VERSION = 6.0.5;
MARKETING_VERSION = 6.0.6;
PRODUCT_BUNDLE_IDENTIFIER = com.rushi.RSSelectionMenu;
PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
SKIP_INSTALL = YES;
Expand All @@ -406,7 +406,7 @@
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
MARKETING_VERSION = 6.0.5;
MARKETING_VERSION = 6.0.6;
PRODUCT_BUNDLE_IDENTIFIER = com.rushi.RSSelectionMenu;
PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
SKIP_INSTALL = YES;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,7 @@ extension RSSelectionMenu {
// present as popover for iPad
if let popoverController = tobePresentController.popoverPresentationController {
popoverController.sourceView = from.view
popoverController.permittedArrowDirections = .any
popoverController.permittedArrowDirections = []
popoverController.sourceRect = CGRect(x: from.view.bounds.midX, y: from.view.bounds.midY, width: 0, height: 0)
}
}
Expand Down

0 comments on commit bd7194b

Please sign in to comment.