Open amodkanthe opened 4 years ago
I would like to recommend you to set the background to .fullscreen in the case your text is long.
How do you think about this?
showcase.backgroundViewType = .full // default is .circle
Don't want to switch full screen this looks much better it was working fine in previous version so rolled back to 0.6.6
I am sorry for my late support. I don't have much time to keep updating this library recently.
Please use the latest version 0.7.2 and adjust the 'showcase.backgroundRadius' to find the best fit for each case.
Observed secondary title is getting cropped after updating to 0.7.1
Following is my code
` func addCoachMarks() {
`
func createCoachMarks(primaryText : String , secondaryText : String) -> MaterialShowcase { let showcase = MaterialShowcase() showcase.delegate = self showcase.primaryText = primaryText showcase.secondaryText = secondaryText showcase.aniRippleColor = .white showcase.targetHolderColor = .none showcase.primaryTextFont = FontStyle.ProximaNovaSemibold(size: 16) showcase.secondaryTextFont = FontStyle.ProximaNovaRegular(size: 14) //showcase.alpha = 0.95 //showcase.backgroundColor = .deam showcase.backgroundPromptColor = UIColor.hexStringToUIColor(hex: AppStrings.accentColor) return showcase }
Following screen shots for before and after
For 0.6.6
For 0.7.1
For 0.6.6
For 0.7.1