react-native-navigation 8.7.3 → 8.7.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -52,7 +52,7 @@ const NSInteger BLUR_STATUS_TAG = 78264801;
|
|
|
52
52
|
if (@available(iOS 13.0, *)) {
|
|
53
53
|
search.searchBar.searchTextField.backgroundColor = backgroundColor;
|
|
54
54
|
}
|
|
55
|
-
|
|
55
|
+
#if __IPHONE_OS_VERSION_MAX_ALLOWED >= 260000
|
|
56
56
|
if (@available(iOS 26.0, *)) {
|
|
57
57
|
if (placement == SearchBarPlacementIntegrated) {
|
|
58
58
|
if (focus) {
|
|
@@ -64,6 +64,7 @@ const NSInteger BLUR_STATUS_TAG = 78264801;
|
|
|
64
64
|
self.navigationItem.preferredSearchBarPlacement = UINavigationItemSearchBarPlacementStacked;
|
|
65
65
|
}
|
|
66
66
|
}
|
|
67
|
+
#endif
|
|
67
68
|
|
|
68
69
|
self.navigationItem.searchController = search;
|
|
69
70
|
[self.navigationItem setHidesSearchBarWhenScrolling:hideOnScroll];
|
|
@@ -79,6 +80,7 @@ const NSInteger BLUR_STATUS_TAG = 78264801;
|
|
|
79
80
|
});
|
|
80
81
|
}
|
|
81
82
|
} else {
|
|
83
|
+
#if __IPHONE_OS_VERSION_MAX_ALLOWED >= 260000
|
|
82
84
|
// Update placement on existing searchController (iOS 26+)
|
|
83
85
|
if (@available(iOS 26.0, *)) {
|
|
84
86
|
if (placement == SearchBarPlacementIntegrated) {
|
|
@@ -91,6 +93,7 @@ const NSInteger BLUR_STATUS_TAG = 78264801;
|
|
|
91
93
|
self.navigationItem.preferredSearchBarPlacement = UINavigationItemSearchBarPlacementStacked;
|
|
92
94
|
}
|
|
93
95
|
}
|
|
96
|
+
#endif
|
|
94
97
|
}
|
|
95
98
|
}
|
|
96
99
|
|