← Winnitude! Search  ·  Reader Mode (1083 ms)
Links: Stay in Reader Retro Site Converter Retro Mode: OFF Original Page ↗
GITHUB · 31 LINKS

feat(types-ios): iOS 27.2 SDK typings by NathanWalker · Pull Request #11727 · NativeScript/NativeScript

Repository navigation

feat(types-ios): iOS 27.2 SDK typings - #11727


Open
NathanWalker wants to merge 1 commit into main from feat/types-ios-27.2
Open

feat(types-ios): iOS 27.2 SDK typings #11727 NathanWalker wants to merge 1 commit into main from feat/types-ios-27.2

Conversation

NathanWalker commented Dec 3, 2026



Copy link Copy Markdown
Contributor

PR Checklist

What is the current behavior?

@nativescript/types-ios is generated from the iOS 27.0 SDK, so iOS 27.1/27.2 APIs are missing -- e.g. the UIKit arrangement API (UIArrangementViewController, UISplitArrangement, UIOverlayArrangement), UIHingeInteraction, UIViewReservedRegion, UINavigationItemTitleAlignment, and UIBarButtonItem.axisBehavior. Core works around the last one with local stand-in declarations in action-bar/index.ios.ts.

What is the new behavior?

Typings regenerated with tools/scripts/typings-gen.sh 9.1.1 against Xcode 27.2 (27B52, iPhoneSimulator 27.2 SDK). 11 framework files change: UIKit, Matter, AVKit, BackgroundAssets, AVFoundation, CoreImage, AppTrackingTransparency, CoreMotion, SharedWithYou, HealthKit, Darwin. No frameworks added or removed.

  • Removed by the SDK itself: Matter's Humidistat cluster attribute IDs plus a few Matter enum members, and HKWorkoutEffortPrediction's PredictionNonExercise. Nothing in the repo references them.
  • action-bar/index.ios.ts: dropped the local UIBarButtonItemVisibilityPriority* / BarButtonItemAxisBehavior stand-ins, which now conflict with the SDK's UIBarButtonItemAxisBehavior, and use the typed UIBarButtonItem members directly. The emitted JS is unchanged: the ambient const enum is inlined to the same numbers, and the setVisibilityPriority: runtime guard is kept.
  • tsc --noEmit -p packages/core/tsconfig.lib.json: 0 errors. Core unit tests: 788 passed.
  • Full ios.d.ts set with skipLibCheck: false: only the existing UIActivityCollaborationModeRestriction.description error, which is identical on main.

The package version bump is left for the usual release(types) commit.

feat(types-ios): iOS 27.2 SDK typings 0c3875f
Regenerated with tools/scripts/typings-gen.sh 9.1.1 against Xcode 27.2
(iPhoneOS 27.2 SDK). The UIBarButtonItem visibilityPriority/axisBehavior
APIs are now in the typings, so action-bar uses them directly.

nx-cloud
Bot
commented Dec 3, 2026 · edited Loading



Copy link Copy Markdown

View your CI Pipeline Execution ↗ for commit 0c3875f

Command Status Duration Result
nx test apps-automated -c=android ✅ Succeeded 3m 32s View ↗
nx run-many --target=test --configuration=ci --... ✅ Succeeded <1s View ↗

💡 With Ultracache enabled, Nx Cloud learns each task's file inputs in CI and uses them on later runs. Turn on Ultracache in workspace settings ↗ · Read docs ↗


☁️ Nx Cloud last updated this comment at 2026-12-03 17:54:59 UTC

pkg-pr-new
Bot
commented Dec 3, 2026



Copy link Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/@nativescript/core@11727
npm i https://pkg.pr.new/@nativescript/vite@11727
npm i https://pkg.pr.new/@nativescript/webpack@11727

commit: 0c3875f

NathanWalker added this to the 9.2 milestone Dec 4, 2026

This branch has not been deployed


No deployments
Sign up for free to join this conversation on GitHub . Already have an account? Sign in to comment

Labels

None yet

1 participant