We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b43898f commit 85e101aCopy full SHA for 85e101a
ios/RNSSearchBar.mm
@@ -233,8 +233,7 @@ - (UINavigationItemSearchBarPlacement)placementAsUINavigationItemSearchBarPlacem
233
return UINavigationItemSearchBarPlacementAutomatic;
234
case RNSSearchBarPlacementInline:
235
return UINavigationItemSearchBarPlacementInline;
236
-#if defined(__IPHONE_OS_VERSION_MAX_ALLOWED) && defined(__IPHONE_26_0) && \
237
- __IPHONE_OS_VERSION_MAX_ALLOWED >= __IPHONE_26_0
+#if RNS_IPHONE_OS_VERSION_AVAILABLE(26_0)
238
case RNSSearchBarPlacementIntegrated:
239
if (@available(iOS 26, *)) {
240
return UINavigationItemSearchBarPlacementIntegrated;
0 commit comments