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

Invalid bundle error while upload the app to the app Store

Convert NsNumber, NSDate to String in iOS Swift

Global LocationManager Singleton class iOS Swift