Skip to content

Switch messed up on iOS26 if back\fore color is set #10900

@sitefinitysteve

Description

@sitefinitysteve

Issue Description

The animation is also not functional, remove the colors and it looks\works fine, it's just default "green"

Image Image
<Switch backgroundColor="#4285F4" offBackgroundColor="#E5E7EB" />

Reproduction

<Switch backgroundColor="#4285F4" offBackgroundColor="#E5E7EB" />

Relevant log output (if applicable)

Environment

OS: macOS 26.0.1
CPU: (16) arm64 Apple M3 Max
Shell: /bin/zsh
node: 22.12.0
npm: 10.9.0
nativescript: 8.9.3

# android
java: 17.0.15
ndk: Not Found
apis: 33, 34, 35
build_tools: 33.0.0, 34.0.0, 35.0.0
system_images: 
  - android-33 | Google Play ARM 64 v8a
  - android-34 | Google APIs ARM 64 v8a

# ios
xcode: 26.0.1/17A400
cocoapods: 1.14.2
python: Not Found
python3: 3.9.6
ruby: 2.7.8
platforms: 
  - DriverKit 25.0
  - iOS 26.0
  - macOS 26.0
  - tvOS 26.0
  - visionOS 26.0
  - watchOS 26.0

Dependencies

"dependencies": {
  "@nativescript/core": "^8.9.9",
  "@nativescript/datetimepicker": "^2.1.13",
  "@nativescript/detox": "^1.0.2",
  "@nativescript/imagepicker": "^5.0.0",
  "@nativescript/local-notifications": "^6.1.1",
  "@nativescript/secure-storage": "^3.0.3",
  "@nativescript/social-share": "^2.3.0",
  "@nativescript/tailwind": "^4.0.3",
  "@nativescript/unit-test-runner": "^3.0.4",
  "@testjg/nativescript-guid": "^1.1.0",
  "@triniwiz/nativescript-image-cache-it": "^7.5.0",
  "date-fns": "^4.1.0",
  "diff-dates": "^1.0.14",
  "nativescript-version-number": "^1.1.0",
  "nativescript-vue": "github:sitefinitysteve/nativescript-vue",
  "pinia": "^3.0.2",
  "random-item": "^4.0.1",
  "tailwindcss": "^4.1.4"
},
"devDependencies": {
  "@jsdevtools/coverage-istanbul-loader": "3.0.5",
  "@nativescript/android": "~8.9.2",
  "@nativescript/ios": "~8.9.4",
  "@nativescript/types": "^8.9.1",
  "@nativescript/webpack": "^5.0.24",
  "@types/node": "^22.14.1",
  "@types/webpack": "^5.28.5",
  "@types/webpack-env": "^1.18.8",
  "detox": "^20.41.1",
  "jest": "^30.1.3",
  "jest-circus": "^30.1.3",
  "jest-cli": "^30.1.3",
  "karma": "6.4.2",
  "karma-coverage": "2.2.1",
  "karma-jasmine": "4.0.2",
  "karma-nativescript-launcher": "0.4.0",
  "nyc": "15.1.0",
  "typescript": "^5.8.3"
}

Please accept these terms

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions