1
私は自分のアプリケーションにCarbonキットを使用しています。私はcarbonTabSwipeScrollView
の背景色を設定していますが、translucent
というエフェクトが表示されているため、背景色と混ざっていて、適切な色が表示されません。私は最後の2日間以来、この問題で立ち往生し、すべての可能な方法を試みたが、成功していないされているので、 CarbonKitの半透明効果を無効にする
let items = ["item 1", "item 2"]
let carbonTabSwipeNavigation = CarbonTabSwipeNavigation(items: items, delegate: self)
carbonTabSwipeNavigation.insert(intoRootViewController: self, andTargetView: self.targetView)
//Set Colors//
carbonTabSwipeNavigation.setIndicatorColor(UIColor.clear)
carbonTabSwipeNavigation.setSelectedColor(UIColor.blue, font: UIFont.systemFont(ofSize: 13))
carbonTabSwipeNavigation.setNormalColor(UIColor.lightGray, font: UIFont.systemFont(ofSize: 13))
carbonTabSwipeNavigation.carbonSegmentedControl?.backgroundColor = UIColor.yellow
carbonTabSwipeNavigation.toolbar.barTintColor = UIColor.clear
carbonTabSwipeNavigation.toolbar.isTranslucent = false
carbonTabSwipeNavigation.carbonTabSwipeScrollView.backgroundColor = UIColor.black
carbonTabSwipeNavigation.carbonTabSwipeScrollView.bounces = false
すべてのヘルプ
が理解されるであろう。ありがとうございます。
私はあなたが提案してみましたが、それでも適切な結果を得ていません。質問の編集を確認してください。 –
あなたはあなたが得ているものとあなたが望むものをスクリーンショットで見せてもらえますか? –