richardtop / CalendarKit

📅 Calendar for Apple platforms in Swift

Home Page:https://www.youtube.com/watch?v=cJ63-_z1qg8

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Quick question about Nav Bar Please Check Attached ss

R35Master opened this issue · comments

New Issue Checklist

Issue Description

Hey @richardtop first of all I wanted to thank you for quickly getting back to me yesterday. I completed the integrated and I really want to say thanks because this is the best SDK I have used for calender. Great job mate!

It works pretty fine and I will start digging deep to connect user data to my database.

My problem is NavBar is completely black on my simulator. I checked the file under pods "UIColor+SystemColors" < this one but there is nothing that makes my nav bar complete black. Here is ss below and kindly asking your guidance;
Screen Shot 2022-08-16 at 17 21 45

Code I'm using with CalendarKit
<!-- INSERT CODE HERE -->
Works fine :)

Result I am trying to achieve

StackOverflow Question link

Dont mind I figured it out. So you were setting nav bar on scene delegate so I just modified it on my viewdidload.

Another question which I really couldnt find any referance; how to automatically scroll down to current time when vc is presented?
and last question is will there be weekly and montly view or can I do that with adding some code?

  1. Another question which I really couldnt find any referance; how to automatically scroll down to current time when vc is presented?

No such functionality in the library as of right now.

  1. There is an open issue regarding week view, which might get developed. Regarding month view, you'll need to combine CK with some other library, as there are plenty of libraries to display the month view.

Thanks a lot @richardtop , I already loved the way you build CK. Cheers!

By the way, just to inform you: on models lower than iphone 8, when you click an event on the calendar there is a button toolbar for "delete" button. When you close the editing vc that toolbar stays in the bottom and if CK is integrated in an app it effects the whole app and stays there. I solved it with

    override func viewWillDisappear(_ animated: Bool) {
        self.navigationController?.setToolbarHidden(true, animated: false)

    }
    override func viewWillAppear(_ animated: Bool) {
        self.navigationController?.setToolbarHidden(true, animated: false)

    }

this lines on my day vc. You might want to mention it if you record another youtube video. Cheers! @richardtop