DayView hide date in CalenderKit

 Problem:

I had installed Calendarkit in my app with pod.I'm using dayview header.I want to hide the top date display line.I want only the view view to be show.How can i achieve that?

Solution:

    @IBOutlet weak var weekView: DayView!


        var header = DayHeaderStyle()

        header.swipeLabel.textColor = .clear

        header.daySelector.selectedBackgroundColor = UIColor().appTextColor()

        weekView.dayHeaderView.updateStyle(header)


You can update the header style as like above to hide the date display on the top header.

Comments

Popular posts from this blog

How to blink a button iOS swift?

Convert NsNumber, NSDate to String in iOS Swift

Parse the value from string value iOS swift