Xamarin iOs:如何自定义顶部栏的背景颜色

时间:2019-06-14 09:58:39

标签: xamarin xamarin.forms xamarin.ios

如何自定义顶部栏的背景颜色? 如您所见,它显示为白色 和我设置为白色的导航抽屉颜色 所以它不可见

ckground

1 个答案:

答案 0 :(得分:0)

在xamarin.forms中尝试过

{
  "name": "OneSystem_MainSite",
  "version": "0.0.0",
  "scripts": {
    "ng": "ng",
    "start": "ng serve",
    "build": "ng build",
    "build:ssr": "ng run OneSystem_MainSite:server:dev",
    "test": "ng test",
    "lint": "ng lint",
    "e2e": "ng e2e"
  },
  "private": true,
  "dependencies": {
    "@angular/animations": "7.2.13",
    "@angular/cdk": "7.3.7",
    "@angular/common": "7.2.13",
    "@angular/compiler": "7.2.13",
    "@angular/core": "7.2.13",
    "@angular/forms": "7.2.13",
    "@angular/http": "7.2.13",
    "@angular/platform-browser": "7.2.13",
    "@angular/platform-browser-dynamic": "7.2.13",
    "@angular/platform-server": "7.2.13",
    "@angular/router": "7.2.13",
    "@nguniversal/module-map-ngfactory-loader": "7.1.1",
    "aspnet-prerendering": "^3.0.1",
    "bootstrap": "^4.3.1",
    "core-js": "2.6.5",
    "font-awesome": "4.7.0",
    "jquery": "^3.4.1",
    "moment": "2.23.0",
    "oidc-client": "1.7.1",
    "popper.js": "^1.14.3",
    "primeflex": "1.0.0-rc.1",
    "primeicons": "1.0.0",
    "primeng": "7.1.1",
    "quill": "1.3.6",
    "rxjs": "6.3.3",
    "rxjs-compat": "6.3.3",
    "zone.js": "^0.8.26"
  },
  "devDependencies": {
    "@angular-devkit/build-angular": "0.13.9",
    "@angular/cli": "7.3.8",
    "@angular/compiler-cli": "7.2.13",
    "@angular/language-service": "^6.0.0",
    "@types/node": "~8.9.4",
    "codelyzer": "4.5.0",
    "typescript": "3.1.6"
  },
  "optionalDependencies": {
    "node-sass": "^4.9.3",
    "protractor": "~5.4.0",
    "ts-node": "~5.0.1",
    "tslint": "~5.9.1"
  }
}