@craft-native/ios 0.0.132 → 0.0.133
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.
package/package.json
CHANGED
|
@@ -1822,9 +1822,14 @@ final class CraftNativeScreenController: UIViewController, UIScrollViewDelegate,
|
|
|
1822
1822
|
}
|
|
1823
1823
|
}
|
|
1824
1824
|
let item = UIBarButtonItem(customView: button)
|
|
1825
|
-
//
|
|
1826
|
-
//
|
|
1827
|
-
//
|
|
1825
|
+
// iOS 26 groups adjacent bar items on one glass platter and tints
|
|
1826
|
+
// their custom views with it: the two 44-point circles came out as
|
|
1827
|
+
// solid accent ovals inside a capsule, unlike the web screens' bar.
|
|
1828
|
+
// The button draws its own surface, so it opts out of the platter.
|
|
1829
|
+
// Guarded by compiler too, for the older SDKs in the release matrix.
|
|
1830
|
+
#if compiler(>=6.2)
|
|
1831
|
+
if #available(iOS 26.0, *) { item.hidesSharedBackground = true; item.sharesBackground = false }
|
|
1832
|
+
#endif
|
|
1828
1833
|
return item
|
|
1829
1834
|
}
|
|
1830
1835
|
|