Code Monkey home page Code Monkey logo

Comments (7)

snc001 avatar snc001 commented on June 21, 2024

Is it because your drawer background is black and is taking all the screen real estate?

meaning if your drawer width that you're using is say... 300/414 but you've made your side drawer view on the storyboard to be 414 and the background is black then thats what it'll be.

from kydrawercontroller.

bhavuk-webkul avatar bhavuk-webkul commented on June 21, 2024

Is it because your drawer background is black and is taking all the screen real estate?

No

meaning if your drawer width that you're using is say... 300/414 but you've made your side drawer view on the storyboard to be 414 and the background is black then thats what it'll be.

both 260 Still not working older i used in many projects its working but now in ios 12 its giving some issue

from kydrawercontroller.

bhavuk-webkul avatar bhavuk-webkul commented on June 21, 2024

any update

from kydrawercontroller.

snc001 avatar snc001 commented on June 21, 2024

limit 260 for your drawer and make the mainview normal size.
Else it won't know how to populate

from kydrawercontroller.

anonym24 avatar anonym24 commented on June 21, 2024

In my case I can't even open drawer and everything from ui view controller is gone (no items on toolbar, uiviewcontroller is black)

#139

from kydrawercontroller.

anonym24 avatar anonym24 commented on June 21, 2024

@snc001 what do you mean?

I have used a default value 200 and what I get is #139

let mainViewController   = ViewController()
let drawerViewController = DrawerViewController()
let drawerController     = KYDrawerController(drawerDirection: .left, drawerWidth: 200)
drawerController.mainViewController = UINavigationController(
    rootViewController: mainViewController
)
drawerController.drawerViewController = drawerViewController 
window = UIWindow(frame: UIScreen.main.bounds)
window?.rootViewController = drawerController
window?.makeKeyAndVisible()

@bhavuk-webkul did you solve this issue?

from kydrawercontroller.

bhavuk-webkul avatar bhavuk-webkul commented on June 21, 2024

yes i have solved this issue

from kydrawercontroller.

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.