patchthecode/JTAppleCalendar

Custom contentInset to add space at the bottom of the calendar

Aberta

#1.189 aberto em 3 de dez. de 2019

 (5 comentários) (0 reação) (1 responsável)Swift (819 forks)batch import
enhancementhelp wanted

Métricas do repositório

Stars
 (7.660 estrelas)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

Description

(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

Guia do colaborador