Skip to content
Open
Show file tree
Hide file tree
Changes from 8 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion CrowdinSDK.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ Pod::Spec.new do |spec|
'Sources/Tests/CrowdinProvider/*.swift',
'Sources/Tests/Core/IntegrationTestGate.swift'
]
test_spec.resources = 'Resources/Tests/SupportedLanguages.json'
end

spec.subspec 'CrowdinAPI' do |subspec|
Expand Down
13 changes: 13 additions & 0 deletions Example/AppleReminders/Controllers/MainVC.swift
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,19 @@ final class MainVC: UIViewController {
searchController?.obscuresBackgroundDuringPresentation = false
searchController?.searchBar.placeholder = "Search".localized
navigationItem.searchController = searchController
if #available(iOS 26.0, *) {
// Keep search UI in the navigation bar to avoid toolbar integration overlapping the footer.
navigationItem.preferredSearchBarPlacement = .stacked
navigationItem.setSearchBarPlacementAllowsToolbarIntegration(false)
}
}
}

private extension UINavigationItem {
func setSearchBarPlacementAllowsToolbarIntegration(_ value: Bool) {
let selector = NSSelectorFromString("setSearchBarPlacementAllowsToolbarIntegration:")
guard responds(to: selector) else { return }
setValue(value, forKey: "searchBarPlacementAllowsToolbarIntegration")
}
}

Expand Down
2 changes: 1 addition & 1 deletion Example/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ EXTERNAL SOURCES:

SPEC CHECKSUMS:
BaseAPI: 7d1c79778a5c85f8e05f5e5c9d7f9be6474a53eb
CrowdinSDK: ae3cc910a38873cbb63bcdefafd39c576f7e7d50
CrowdinSDK: 5f07965f4a1faf50d75898161c70714d8d97e685
Realm: 490aad28f1360e58fc22256d5d686d3a36525346
RealmSwift: f6a9b56d747bbdd7931de1835896c5f024b6898a
Starscream: fb2c4510bebf908c62bd383bcf05e673720e91fd
Expand Down
2 changes: 1 addition & 1 deletion ObjCExample/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ EXTERNAL SOURCES:

SPEC CHECKSUMS:
BaseAPI: 7d1c79778a5c85f8e05f5e5c9d7f9be6474a53eb
CrowdinSDK: ae3cc910a38873cbb63bcdefafd39c576f7e7d50
CrowdinSDK: 5f07965f4a1faf50d75898161c70714d8d97e685

PODFILE CHECKSUM: 530155f41b1d99b9cdd5bfd43d94fc0d9d7a9e49

Expand Down
Loading
Loading