Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/ios/104.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ios 有人能告诉我如何去除CarbonKit中的深灰色底部边框吗_Ios_Swift4_Uisegmentedcontrol_Carbonkit - Fatal编程技术网

Ios 有人能告诉我如何去除CarbonKit中的深灰色底部边框吗

Ios 有人能告诉我如何去除CarbonKit中的深灰色底部边框吗,ios,swift4,uisegmentedcontrol,carbonkit,Ios,Swift4,Uisegmentedcontrol,Carbonkit,这是我的代码添加碳套件在我看来 let arrMenuName = ["Signal","Buy or Not"] carbonSwipe.delegate = self carbonSwipe = CarbonTabSwipeNavigation(items: arrMenuName as [AnyObject], delegate: self) carbonSwipe.carbonTabSwipeScrollView.isScrollEnabled = tru

这是我的代码添加碳套件在我看来

    let arrMenuName = ["Signal","Buy or Not"]
    carbonSwipe.delegate = self
    carbonSwipe = CarbonTabSwipeNavigation(items: arrMenuName as [AnyObject], delegate: self)
    carbonSwipe.carbonTabSwipeScrollView.isScrollEnabled = true
    carbonSwipe.insert(intoRootViewController: self, andTargetView: mainvw)
    carbonSwipe.carbonSegmentedControl?.backgroundColor = UIColor.clear;
    carbonSwipe.carbonSegmentedControl?.setWidth(UIScreen.main.bounds.size.width / 2, forSegmentAt: 0)
    carbonSwipe.carbonSegmentedControl?.setWidth(UIScreen.main.bounds.size.width / 2, forSegmentAt: 1)
    carbonSwipe.setTabBarHeight(48)
    carbonSwipe.setNormalColor(UIColor.black, font: UIFont.init(name: "SanFranciscoDisplay-Regular", size: 15)!)
    carbonSwipe.setSelectedColor(UIColor.red, font: UIFont.init(name: "SanFranciscoDisplay-Bold", size: 15)!)

    carbonSwipe.setIndicatorHeight(2)
    carbonSwipe.setIndicatorColor(UIColor.red)


任何建议都将不胜感激。谢谢。

试着写在下面一行

carbonSwipe.toolbar.clipsToBounds = true

试着在下面一行写

carbonSwipe.toolbar.clipsToBounds = true

@库尔德普感谢你的工作。网络服务call@Kuldeep谢谢你的工作。网络服务呼叫