WenchaoD / FSCalendar

A fully customizable iOS calendar library, compatible with Objective-C and Swift
MIT License
10.6k stars 1.94k forks source link

Weekdays are misaligned when embedded in Tab Bar Controller #746

Open Aleic27 opened 7 years ago

Aleic27 commented 7 years ago

The calendar in our project has misaligned and missing cells after we added the View Controller to a Tab Bar Controller. I am currently using FSCalendar 2.7.9.

Screenshot: calendar

I also did the fix stated here but it didn't work: https://stackoverflow.com/questions/39331557/ios-swift-fscalendar-strange-space-between-days-names-and-days-numbers

numen31337 commented 7 years ago

I have the same layout but with custom cells in my project. In my case, it works fine.

GopiipoG commented 7 years ago

can anyone pls explain how to add color to dictionary items of json.In sample of Fs calendar

self.fillDefaultColors = @{@"2017/07/08":[UIColor purpleColor],

                           @"2015/10/06":[UIColor greenColor],

                           @"2015/10/18":[UIColor cyanColor],

                           @"2015/10/22":[UIColor yellowColor],

                           @"2015/11/08":[UIColor purpleColor],

                           @"2015/11/06":[UIColor greenColor],

                           @"2015/11/18":[UIColor cyanColor],

                           @"2015/11/22":[UIColor yellowColor],

                           @"2015/12/08":[UIColor purpleColor],

                           @"2015/12/06":[UIColor greenColor],

                           @"2015/12/18":[UIColor cyanColor],

                           @"2015/12/22":[UIColor magentaColor]};

It has been provided to change color.Now I have dictionary of values .Please guide me to how to set color for dates which is in Nsdictionary

Thanks

On Thu, Jul 13, 2017 at 12:14 PM, Oleksandr Kirichenko < notifications@github.com> wrote:

I have the same layout but with custom cells in my project. In my case, it works fine.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/WenchaoD/FSCalendar/issues/746#issuecomment-314986990, or mute the thread https://github.com/notifications/unsubscribe-auth/AMOH0obEHxvwbo56FLn_lwbRZIOQfSNRks5sNbzMgaJpZM4OWaxK .