Giter VIP home page Giter VIP logo

Comments (5)

subhash08 avatar subhash08 commented on July 21, 2024

i did it
sorry for posting issue before do my best.

from carbonkit.

gustavogervasio avatar gustavogervasio commented on July 21, 2024

@subhash08 how?

from carbonkit.

subhash08 avatar subhash08 commented on July 21, 2024

@gustavogervasio
find - (void)viewDidLayoutSubviews method in CarbonTabSwipeNavigation.m than
in following line

    pageController.view.frame = CGRectMake(pageController.view.frame.origin.x, pageController.view.frame.origin.y, self.view.bounds.size.width, pageController.view.frame.size.height-60);

change the height of pageController, In my case I just want to add a view with height of 60 then I then i change height pageController.view.frame.size.height-60 then after I add my view and other objects.
Hope it may helps.
Happy coding.

from carbonkit.

gustavogervasio avatar gustavogervasio commented on July 21, 2024

thanks... 👍

from carbonkit.

dewanshuBuzzyears avatar dewanshuBuzzyears commented on July 21, 2024

override func viewDidLayoutSubviews() {

    view.addConstraint(NSLayoutConstraint(item: carbonTabSwipeNavigation!.view, attribute: .top, relatedBy: .equal, toItem: self.topLayoutGuide, attribute: .bottom, multiplier: 1, constant: 0))
    
    view.addConstraint(NSLayoutConstraint(item: carbonTabSwipeNavigation!.view, attribute: .bottom, relatedBy: .equal, toItem: self.bottomLayoutGuide, attribute: .top, multiplier: 1, constant: -60))
    
    view.addConstraint(NSLayoutConstraint(item: carbonTabSwipeNavigation!.view, attribute: .leading, relatedBy: .equal, toItem: self.view, attribute: .leading, multiplier: 1, constant: 0))
    
    view.addConstraint(NSLayoutConstraint(item: carbonTabSwipeNavigation!.view, attribute: .trailing, relatedBy: .equal, toItem: self.view, attribute: .trailing, multiplier: 1, constant: 0))
    
    
}

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.