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
- The PR title follows our guidelines: https://github.com/NativeScript/NativeScript/blob/master/tools/notes/CONTRIBUTING.md#commit-messages .
- There is an issue for the bug/feature this PR is for.
- You have signed the CLA .
- All existing tests are passing.
- Tests for the changes are included (generated typings).
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'sPredictionNonExercise. Nothing in the repo references them. action-bar/index.ios.ts: dropped the localUIBarButtonItemVisibilityPriority*/BarButtonItemAxisBehaviorstand-ins, which now conflict with the SDK'sUIBarButtonItemAxisBehavior, and use the typedUIBarButtonItemmembers directly. The emitted JS is unchanged: the ambientconst enumis inlined to the same numbers, and thesetVisibilityPriority:runtime guard is kept.tsc --noEmit -p packages/core/tsconfig.lib.json: 0 errors. Core unit tests: 788 passed.- Full
ios.d.tsset withskipLibCheck: false: only the existingUIActivityCollaborationModeRestriction.descriptionerror, which is identical onmain.
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
💡 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 |
pkg-pr-new
Bot
commented
Dec 3, 2026
Copy link Copy Markdown
commit: |
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