Questions tagged [carbonkit]

13 questions
3
votes
1 answer

how to set color Gradient for carbonTabSwipeNavigation CarbonKit Cocoapods

I am new to iOS.I want to apply gradient colors on CarbonTabSwipeNavigation.I tried to apply the gradient to the toolbar of CarbonTabSwipeNavigation, but it is not happening I have tried with Static Colore Code…
Vishal Shelake
  • 572
  • 1
  • 8
  • 12
2
votes
3 answers

how to callback the array of data to another viewController in iOS Swift

In createCardVC, I have used the carbonKit library to show tab bar. Initially, the array of data loaded using static data but now I am trying to use an array of data from webView javascript postMessage. When createCardVC is loaded the carbonKit of…
PvUIDev
  • 95
  • 1
  • 9
  • 38
2
votes
2 answers

How can I change the alpha of selected and unselected carbonSegmentedControl items

I'm trying to change the Alpha of Selected and unselected carbonSegmentedControl items but didn't able to achieve that instead of whole carbonSegmentedControl alpha's changes. Sample code is as follow: UIButton *firstButton = [[UIButton…
Irfan
  • 4,301
  • 6
  • 29
  • 46
1
vote
1 answer

Add a view controller as a subview in another view controller

I have already read this LINK , but not working for me. I want to show a viewController as a subview in another viewController. Here is my code - import UIKit import CarbonKit class ViewController: UIViewController,…
Rashed
  • 2,349
  • 11
  • 26
1
vote
1 answer

Apply Gradient Colors on CarbonTapSwipeNavigation

I am new to iOS.I want to apply gradient colors on CarbonTabSwipeNavigation.I tried to apply the gradient to the toolbar of CarbonTabSwipeNavigation, but it is not working. Here's the code. let carbonTabSwipeNavigation =…
Gunjan
  • 25
  • 6
0
votes
1 answer

Swift 5 CarbonKit pod How to set x Axis and make background color clear for Pager

After using Carbon Kit Pod to make seperate tabs for 2 Sections. Unable to make background color clear for the pager Eg:- This is my Code let items = ["First ViewController", "Second ViewController"] let carbonTabSwipeNavigation =…
Eminem
  • 13
  • 4
0
votes
1 answer

How to initiate from xib UIViewController in iOS Swift?

I have been developing framework, I have used tab menu using carbonKit cocoapods, Now i'm trying to navigate UIVIewController xib. When UITabBarController loaded the carbonkit menu default tab menu will be called. Here is the code used for load xib…
PvUIDev
  • 95
  • 1
  • 9
  • 38
0
votes
1 answer

Removing 1x shadow line under Segmented Pager in CarbonKit

I am using CarbonKit in my project as a segmented pager. I am trying to remove 1px shadow line under the tool but I am not able to do it. I used this code but didn't help. [self.navigationController.navigationBar setBackgroundImage:[[UIImage alloc]…
birdcage
  • 2,638
  • 4
  • 35
  • 58
0
votes
1 answer

Can Anyone told me how to remove dark Grey bottom side border in CarbonKit

This is my code for add Carbon kit in my view. let arrMenuName = ["Signal","Buy or Not"] carbonSwipe.delegate = self carbonSwipe = CarbonTabSwipeNavigation(items: arrMenuName as [AnyObject], delegate: self) …
Himanshu Moradiya
  • 4,769
  • 4
  • 25
  • 49
0
votes
0 answers

ConstraintsWithVisualFormat for iPhone X safe area

This line of code to be converted to safe area for iPhone X self.view.translatesAutoresizingMaskIntoConstraints = NO; id views = @{ @"carbonTabSwipe" : self.view, @"topLayoutGuide" : rootViewController.topLayoutGuide, …
niravdesai21
  • 4,818
  • 3
  • 22
  • 33
0
votes
2 answers

Having an issue in Menu Tabs. And I am using carbonKit Framework

I want both tabs(Hello World, Tab) equal width of controller width . I put the complete code of my tabs. if anyone have suggestion for it. plz give suggestion.i am waiting. Comment & Answer Fast. import UIKit import CarbonKit class ViewController:…
0
votes
1 answer

icons and their color are updating automatically | iOS | CarbonKit

I'm using CarbonTabSwipeNavigation in my code (as follows). The issue is that the colour of all the icons is being updated automatically (probably to some default colour). How to fix that? Apart from that, one of my icons is being updated (don't…
Fayza Nawaz
  • 2,256
  • 3
  • 26
  • 61
0
votes
1 answer

CarbonKit : How To pass tab array title ID to UIViewController?

enter image description hereI'm using CarbonKit in ViewController. Its working fine. Here, I'm using one tableview for all Segment Array title ID. And i got title ID when i was selected Tab and swipe, and stuck with passing array title ID to…
venkat
  • 21
  • 9