Skip to content

How to adjust skip button #283

@arishanapalli

Description

@arishanapalli

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
}

SkipError

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions