patchthecode/JTAppleCalendar

Custom contentInset to add space at the bottom of the calendar

Aperta

#1189 aperta il 3 dic 2019

 (5 commenti) (0 reazioni) (1 assegnatario)Swift (819 fork)batch import
enhancementhelp wanted

Metriche repository

Star
 (7660 stelle)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

(Required) Version Number: 8.0.2

Description

I would like to add some spacing at the bottom of the calendar, but it doesn't seem to be customisable.

I tried setting a custom contentInset, but it looks like it's updated internally.

I may be good to have an equivalent method for customised footer views ? public func calendar(_ calendar: JTACMonthView, footerViewForDateRange range: (start: Date, end: Date), at indexPath: IndexPath) -> JTACMonthReusableView {

If there's an actual solution, can you please provide the code/documentation ?

Additional Context

Guida contributor