In my iOS App, i am using CalendarKit, a Framework to create a full-featured Calendar. I want to modify the EventView to add rounded corners. To do that, i configure the EventView Class like this:
private func configure() {
clipsToBounds = true
color = tintColor
addSubview(textView)
for (idx, handle) in eventResizeHandles.enumerated() {
handle.tag = idx
addSubview(handle)
}
}
and i set the following properties to the view:
layer.cornerRadius = 6
it works but now, the rounded dots for editing/moving are clipped:
What can i do, to unclip the dots from parent view? Any ideas? I already tried to set zPosition but it doesn't work.
Note: The full EventView Class can be found here: https://github.com/richardtop/CalendarKit/blob/0235dab6e9ca190a380868224d0e8fb149e6009a/Source/Timeline/EventView.swift
