diff --git a/README.md b/README.md index e7ab256..8dd2555 100644 --- a/README.md +++ b/README.md @@ -20,6 +20,9 @@ An elegant selection list or dropdown menu for iOS with single or multiple selec - Provide header row as **Empty**, **All**, **None** or **Custom Text** - Customizable design for UINavigationBar and UISearchBar +## What's new in 6.0.8 +- Use **.bottomSheet** instead of '.actionSheet' to support themes in iOS 13. + ## Requirements ```swift iOS 9.0+ | Xcode 8.3+ | Swift 3.0+ @@ -30,7 +33,7 @@ iOS 9.0+ | Xcode 8.3+ | Swift 3.0+ ### CocoaPods ```ruby -pod 'RSSelectionMenu' or pod 'RSSelectionMenu', '~> 6.0.7' +pod 'RSSelectionMenu' or pod 'RSSelectionMenu', '~> 6.0.8' ``` ### Carthage diff --git a/RSSelectionMenu.podspec b/RSSelectionMenu.podspec index fd23271..817ae24 100644 --- a/RSSelectionMenu.podspec +++ b/RSSelectionMenu.podspec @@ -1,7 +1,7 @@ Pod::Spec.new do |s| s.name = "RSSelectionMenu" - s.version = "6.0.7" + s.version = "6.0.8" s.summary = "An elegant selection list or dropdown menu for iOS with single or multiple selections." s.description = <<-DESC diff --git a/RSSelectionMenu.xcworkspace/xcuserdata/rushisangani.xcuserdatad/UserInterfaceState.xcuserstate b/RSSelectionMenu.xcworkspace/xcuserdata/rushisangani.xcuserdatad/UserInterfaceState.xcuserstate index 00a6062..74f3b6f 100644 Binary files a/RSSelectionMenu.xcworkspace/xcuserdata/rushisangani.xcuserdatad/UserInterfaceState.xcuserstate and b/RSSelectionMenu.xcworkspace/xcuserdata/rushisangani.xcuserdatad/UserInterfaceState.xcuserstate differ diff --git a/RSSelectionMenu/RSSelectionMenu.xcodeproj/project.pbxproj b/RSSelectionMenu/RSSelectionMenu.xcodeproj/project.pbxproj index aba3481..3cd80e3 100755 --- a/RSSelectionMenu/RSSelectionMenu.xcodeproj/project.pbxproj +++ b/RSSelectionMenu/RSSelectionMenu.xcodeproj/project.pbxproj @@ -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.7; + MARKETING_VERSION = 6.0.8; PRODUCT_BUNDLE_IDENTIFIER = com.rushi.RSSelectionMenu; PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; SKIP_INSTALL = YES; @@ -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.7; + MARKETING_VERSION = 6.0.8; PRODUCT_BUNDLE_IDENTIFIER = com.rushi.RSSelectionMenu; PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; SKIP_INSTALL = YES; diff --git a/RSSelectionMenu/RSSelectionMenu/Source/RSSelectionMenuController.swift b/RSSelectionMenu/RSSelectionMenu/Source/RSSelectionMenuController.swift index 337e0e5..74acc23 100644 --- a/RSSelectionMenu/RSSelectionMenu/Source/RSSelectionMenuController.swift +++ b/RSSelectionMenu/RSSelectionMenu/Source/RSSelectionMenuController.swift @@ -436,7 +436,9 @@ extension RSSelectionMenu { // add done action if (tableView?.selectionStyle == .multiple || !self.dismissAutomatically || style == .actionSheet) { - alertController.addAction(doneAction) + if case .actionSheet = menuPresentationStyle { + alertController.addAction(doneAction) + } } let viewHeight = height ?? 350