Giter VIP home page Giter VIP logo

Comments (41)

ermalkaleci avatar ermalkaleci commented on June 23, 2024 2

you have the code above
please stop calling me sir, my username is OK

from carbonkit.

ermalkaleci avatar ermalkaleci commented on June 23, 2024 1

I'm not your boss ;-)
I am closing this issue, OK?

from carbonkit.

RB-King avatar RB-King commented on June 23, 2024 1

checkout .. but i can't Change NavigationBar Color. So, Please tell me the Proper Code and Guide me.

from carbonkit.

ermalkaleci avatar ermalkaleci commented on June 23, 2024

Hey @subhash08
you mean tabs and navigationBar with the same color?

from carbonkit.

subhash08 avatar subhash08 commented on June 23, 2024

Hello @ermalkaleci
sorry , week in english.
i wants tabs and navigationBar with diffrent color
tabs in white color and navigationBar in green color.
look this image
"how can i change tabs background in white"
ios simulator screen shot 17-aug-2015 4 16 37 pm

from carbonkit.

ermalkaleci avatar ermalkaleci commented on June 23, 2024

just set tintColor: white

[[CarbonTabSwipeNavigation alloc] createWithRootViewController:self tabNames:names tintColor:[UIColor whiteColor] delegate:self];

from carbonkit.

subhash08 avatar subhash08 commented on June 23, 2024

thanks @ermalkaleci

from carbonkit.

ermalkaleci avatar ermalkaleci commented on June 23, 2024

did you fix it?

from carbonkit.

subhash08 avatar subhash08 commented on June 23, 2024

yes i did @ermalkaleci
I'm calling sir just becouse of you are very senior in iOS development and I'm just a new comer.
If you don't like I'll not call you sir again. :)

from carbonkit.

subhash08 avatar subhash08 commented on June 23, 2024

ok

from carbonkit.

JannyKul avatar JannyKul commented on June 23, 2024

I'm actually having the exact same issue. When setting the tint colour within the creation method (using the below code) the navigationbar of that view takes the same colour

var color: UIColor = UIColor(red: 0.7, green: 0.7, blue: 0.7, alpha: 1) tabSwipe.createWithRootViewController(self, tabNames: names, tintColor: color, delegate: self)

screen shot 2015-10-04 at 12 06 02

I have tried programmatically overriding the navigation bar color within viewdidload however this doesn't seem to work either

UINavigationBar.appearance().backgroundColor = UIColor.greenColor()

how did you manage to fix this issue?

Thanks very much in anticipation of your response.

from carbonkit.

ermalkaleci avatar ermalkaleci commented on June 23, 2024

Don't copy/paste the example.
OnViewDidApper you have called setTranslucent to NO. This fit the navigation color with the same color.

from carbonkit.

JannyKul avatar JannyKul commented on June 23, 2024

ah of course! you're 100% right, thank you so much for the help once again

from carbonkit.

Narendratha avatar Narendratha commented on June 23, 2024

how to set the image color in segment control use in carbon it

from carbonkit.

ermalkaleci avatar ermalkaleci commented on June 23, 2024

@Narendratha follow the example

from carbonkit.

RB-King avatar RB-King commented on June 23, 2024

@ermalkaleci [[CarbonTabSwipeNavigation alloc] createWithRootViewController:self tabNames:names tintColor:[UIColor whiteColor] delegate:self];
this line where i put ? in which class ?

from carbonkit.

ermalkaleci avatar ermalkaleci commented on June 23, 2024

Please checkout the example project.

from carbonkit.

MemetGhini avatar MemetGhini commented on June 23, 2024

@JannyKul how to let the line between navigationbar and carbonTabSwipeNavigation disappear?

from carbonkit.

MemetGhini avatar MemetGhini commented on June 23, 2024

simulator screen shot feb 2 2016 4 27 06 pm

from carbonkit.

ermalkaleci avatar ermalkaleci commented on June 23, 2024

@MemetiDrak like you do normally. It's navigation bar shadow line

from carbonkit.

MemetGhini avatar MemetGhini commented on June 23, 2024

@ermalkaleci
Thank you for your guidance,The problem is solved now.thank you.
simulator screen shot feb 2 2016 8 09 14 pm

from carbonkit.

SwiftCrew avatar SwiftCrew commented on June 23, 2024

how to set image with name like here is showing tabbar with title and image like as carbon kit

from carbonkit.

ioshitendra avatar ioshitendra commented on June 23, 2024

can i change a carbankit heigth ?

from carbonkit.

ermalkaleci avatar ermalkaleci commented on June 23, 2024

@astrolka see example app

from carbonkit.

astrolka avatar astrolka commented on June 23, 2024

@ermalkaleci oh sorry, i have just understood that there is just segmentedcontrol :D
P.s. In this example i have found nothing about this issue

from carbonkit.

ioshitendra avatar ioshitendra commented on June 23, 2024

Hello

@ermalkaleci https://github.com/ermalkaleci How can text+image of
CarbonTabSwipeNavigation?
i am use image but ui not show proper if any way to use both of them.
Thankig You

Regards
Hitendra Lariya
IOS Developer.

from carbonkit.

ioshitendra avatar ioshitendra commented on June 23, 2024

@ermalkaleci
Hello
i have two question about carbankit segment controll

  1. the first thing is how i show badge bar on carban kit segment
  2. and second thing is how to switch next controller or back controller programatically
    please reply me .

from carbonkit.

kristoff2016 avatar kristoff2016 commented on June 23, 2024

Very good job! Thank you very much it is the best lib.

from carbonkit.

hariios1234 avatar hariios1234 commented on June 23, 2024

how to swipe the view controllers through programmatically in carbon tab swipe navigation....

from carbonkit.

Dhawan7 avatar Dhawan7 commented on June 23, 2024

Hi
How can I change the swipe direction of carbon kit pagecontroller.

from carbonkit.

MandalAkash avatar MandalAkash commented on June 23, 2024

how to set carbon kit navigation segment title text in two line

from carbonkit.

MandalAkash avatar MandalAkash commented on June 23, 2024

when i swipe controller carbon navigation title change but when i swipe carbon navigation but my controller not changed. how can i change my controller class when i swipe carbon navigation

from carbonkit.

thechaudharysab avatar thechaudharysab commented on June 23, 2024

Can I make tabs like this in swift? With selected tab background color is changed and unselected tabs color is changed. If yes then how? Because all I found were setIndicatorColor, setNormalColor and setSelectedColor
screen shot 2017-10-05 at 6 25 05 pm

from carbonkit.

CavalcanteLeo avatar CavalcanteLeo commented on June 23, 2024

since nobody gave u the code, here it is:

    self.carbonTabSwipeNavigation.toolbar.barTintColor = [UIColor greenColor];
    self.carbonTabSwipeNavigation.toolbar.translucent = NO;

from carbonkit.

thechaudharysab avatar thechaudharysab commented on June 23, 2024

@CavalcanteLeo Thank you for your answer and this successfully changed the background color but can I change the color of selected tab? Like in the image I've attached the selected tabs is white in color and the unselected are light blue?

from carbonkit.

chiragpurohit71085 avatar chiragpurohit71085 commented on June 23, 2024

Hi @thechaudharysab

did you resolve this? I need to do same thing as you have asked.

from carbonkit.

chiragpurohit71085 avatar chiragpurohit71085 commented on June 23, 2024

Hi

If anybody is looking for as asked by @thechaudharysab , here is the solution (with text only)

CarbonTabSwipeSegmentedControl.m

Create custom function

-(void)syncSegmentBgColor {
for (UIView *segment in self.segments) {

    if ([self.segments indexOfObject:segment] == self.selectedSegmentIndex) {
       
         segment.backgroundColor = [UIColor colorWithRed:102.0/255.0f green:124.0/255.0f blue:189.0/255.0f alpha:1];
       
    } else {
        
         segment.backgroundColor = [UIColor whiteColor];
      
    }}}

Call it from setSelectedSegmentIndex e.g

-(void)setSelectedSegmentIndex:(NSInteger)selectedSegmentIndex {
[super setSelectedSegmentIndex:selectedSegmentIndex];
[self syncSegmentBgColor];
}

from carbonkit.

ManojSMac avatar ManojSMac commented on June 23, 2024

screen shot 2018-12-11 at 2 11 51 pm

Is it possible to show both icon and name as Items heading

from carbonkit.

ManojSMac avatar ManojSMac commented on June 23, 2024

If possible kindly share the code

from carbonkit.

saritbahuguna1 avatar saritbahuguna1 commented on June 23, 2024

Dear @ermalkaleci ,

Hope you are doing well.

I am getting an issue only in iPad,I have CarbonTabSwipeNavigation with two tabs. in iPhone it is working fine . but in case of iPad I have issue regarding navigation i.e in status bar and CarbonTabSwipeNavigation have some black screen.
I do'nt know how it will fix. Can you help me for the same , if have any idea.
Simulator Screen Shot - iPad Air 2 - 2019-07-19 at 19 10 25

Waiting for your positive feedback.

from carbonkit.

milan-mgu avatar milan-mgu commented on June 23, 2024

Can I make tabs like this in swift? With selected tab background color is changed and unselected tabs color is changed. If yes then how? Because all I found were setIndicatorColor, setNormalColor and setSelectedColor
screen shot 2017-10-05 at 6 25 05 pm

Did you get solution for this ? I want to do same thing.

from carbonkit.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.