Skip to content

How to adjust skip button #283

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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