Conversation
🤖 Augment PR SummarySummary: Adds a conditional 🤖 Was this summary useful? React with 👍 or 👎 |
| NSStringDrawingUsesDeviceMetrics = 1 << 3, // Uses image glyph bounds instead of typographic bounds | ||
| NSStringDrawingTruncatesLastVisibleLine API_AVAILABLE(macos(10.5), ios(6.0), tvos(9.0), watchos(2.0), visionos(1.0)) = 1 << 5, // Truncates and adds the ellipsis character to the last visible line if the text doesn't fit into the bounds specified. Ignored if NSStringDrawingUsesLineFragmentOrigin is not also set. | ||
| // Check if Xcode 26.0 related platform SDKs are available | ||
| #if (defined(__IPHONE_26_0) && __IPHONE_OS_VERSION_MAX_ALLOWED >= __IPHONE_26_0) || \ |
There was a problem hiding this comment.
This #if guard checks iOS/macOS/tvOS/watchOS SDK macros, but the new option is also marked API_AVAILABLE(..., visionos(26.0)). If visionOS SDKs gate availability via vision-specific macros (e.g. __VISION*_VERSION_MAX_ALLOWED), consider including that here so the shim stays in sync when building for visionOS.
Severity: medium
🤖 Was this useful? React with 👍 or 👎, or 🚀 if it prevented an incident/outage.
Codecov Report✅ All modified and coverable lines are covered by tests.
Additional details and impacted files@@ Coverage Diff @@
## main #783 +/- ##
===========================================
- Coverage 26.20% 13.13% -13.07%
===========================================
Files 650 620 -30
Lines 40232 36773 -3459
===========================================
- Hits 10543 4831 -5712
- Misses 29689 31942 +2253 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Close #773