-
Notifications
You must be signed in to change notification settings - Fork 481
Closed
Description
How to adjust skip button at bottom center of Overlay View?
Since skipView button overlap on notification button.
as shown in below image.
func coachMarkSetup(){
self.coachMarksController.dataSource = self
let skipView = CoachMarkSkipDefaultView()
skipView.titleLabel?.font = UIFont(font: Font.interMedium, size: 14)
skipView.setTitle("Skip", for: .normal)
skipView.layer.cornerRadius = 17
skipView.titleLabel?.layer.cornerRadius = 17
skipView.titleLabel?.textColor = UIColor.init(named: ColorPalette.gray700Color)
skipView.backgroundColor = UIColor.init(named: ColorPalette.gray300Color)
skipView.layer.backgroundColor = UIColor(named: ColorPalette.gray300Color)?.cgColor
self.coachMarksController.overlay.backgroundColor = UIColor.init(named: ColorPalette.grayOpacity) ?? .lightGray
self.coachMarksController.skipView = skipView
self.coachMarksController.skipView?.backgroundColor = UIColor.init(named: ColorPalette.gray300Color)
self.coachMarksController.skipView?.translatesAutoresizingMaskIntoConstraints = false
}
Metadata
Metadata
Assignees
Labels
No labels
