-
Notifications
You must be signed in to change notification settings - Fork 810
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Editable CalendarView (UICollectionView) Content Insets #332
Comments
Thank you for the compliment. I want it to be the best on github. Concerning your issue.
I need to know these information in order to replicate your issue. |
The calendar is setup through interface builder to be the exact same size as the view. My calendar view is under my navigation bar on purpose (I like the translucent effect), and your calendar library is scrolling to the correct area if there were no navigation bar. |
it is important to note I have a custom sized navigation bar. I believe this is throwing off the automatic scroll view inset adjustment. I also believe if you allow us to edit the underlying collection view contentInsets that should fix the problem. |
alright. I will look at this right now. |
Hey that is a pretty good looking checkbox. I will check on that later today. Thanks for looking into this! |
By the way, your headers are always centered. Why not try making the header right above the first of the month like this -> #315 |
Okay so I tried the layout Adjust Scroll View Insets and It didn't change anything. Also, I have the header centered over the first day of the month, I just forgot to add layoutIfNeeded(). |
By the way this calendar is for a workout app, and each number inside the circle represents how many pushups the user did today. Obviously I am pretty ripped since I totally did 263 pushups on Feb 23... ;P |
ok. This is happening because you have set your Looking into it. BTW, your design looks pretty neat. Have you done it with a class? or with a nib? |
Thanks for looking into that for me. Insets may not fix my problem, may just need something like an offset to the scrollToDate or something like that. The design uses nibs and is modeled after Apple's Activity app 😁. |
OK, will work on this on the weekend. I should have an update for you by then. |
I may be missing something obviously easy, but currently I cannot find a way to edit the underlying UICollectionView Insets. I am trying to make an offset for the scrollTo(date: ) function so that I can have a transparent Navigation Bar overtop of my calendar view.
Currently looks like this when I try to scroll to today's date:
Trying to get it to look like this:
I love your calendar! It is by far the best pod I have ever used, and it blows every other calendar pod out of the water!
Thanks for your help,
Ben
The text was updated successfully, but these errors were encountered: